Solved

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

Posted on 1998-02-04
3
186 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 50 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
compact pure CSS Read More Toggle 4 66
how to handle $x_amount to payment gateway in php - stumped. 14 33
remove background quote mark from widget 6 51
Shopping Cart 2 71
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

773 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