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?
 
JagarConnect With a Mentor Commented:
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
 
JULIEAuthor Commented:
Edited text of question
0
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.