?
Solved

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

Posted on 1998-02-04
3
Medium Priority
?
192 Views
Last Modified: 2013-12-25

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?
0
Comment
Question by:JULIE
  • 2
3 Comments
 

Author Comment

by:JULIE
ID: 1857084
Edited text of question
0
 
LVL 2

Accepted Solution

by:
Jagar earned 100 total points
ID: 1857085
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
 

Author Comment

by:JULIE
ID: 1857086
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month15 days, 18 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question