How can I get the logon user id to control the pages shown?


I am using MS IIS as a web server which relies on Windows NT for all user security. The logon ID and password is used to connect to our web server.
I want to control the pages display according to the logon user ID. e.g. if user A logon successfully, a page will be shown, and another page will be shown for user B.

How can I get the logon user ID from Windows NT?
JULIEAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JULIEAuthor Commented:
Edited text of question
0
JagarCommented:
There is a server-side include variable that is included with part of Active Server Pages called:
LOGON_USER: This is defined as Windows NT account details for the user.

So this should have the information you are looking for and with this you can direct them to the correct page.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JULIEAuthor Commented:
Jagar suggested that :
There is a server-side include variable that is included with part of Active Server Pages called:
LOGON_USER: This is defined as Windows NT account details for the user.


This is my comment:

Sorry, this answer is vague for me.  

I have searched the Help file in Windows NT, however, it niether mention the Active Server Page ( ASP ?) nor the LOGON_USER variable.

What do I need to add in the HTML codes to refer the LOGON_USER variable from Windows NT ?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.