Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Windows NT username and redirecting on NT group

Status
Not open for further replies.

Govnor

Technical User
Sep 3, 2002
55
GB
Hi all,

I am trying to build a Intranet for a company I work for. They want admin to have there own homepage and secretaries to have there own homepage. As they are already logged in to a Windows NT server they do not want to retype there username and password. How can I get their Windows NT login name and see what group they are in then redirect them on those basics.

I tried “Request.ServerVariables("LOGON_USER")” but I do not think I am going done the right route

Can it be done in ASP?
 
If your web application is set to Window Integrated Authentication then Logon_User is what you want. If it's set to Anonymous Authentication you'll need to ask your IIS Admin to change it. You'll still need to maintain a "short list" of the users that you plan to redirect. Without the NT authentication (anonymous) you'll need to maintain a database listing of All users AND they'll have to login to a page of your design for you to identify them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top