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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting NT ID with ASP

Status
Not open for further replies.

secondreckoned

Technical User
Jan 20, 2004
35
CA
Hi, is there a way to aquire the NT Logon ID of someone visiting a website on an intranet? I'd appreciate any feedback on if possible, or how to aquire it. Thank you in advance.
MF
 
Hi,
thank you for your response. When I use the Request.ServerVariables("LOGON_USER") function I am not receiving any data back. Is there an option in IIS that has to be activated for this to work?
 
Within IIS, you will have to find your site, right-click and choose Properties. From there, find and click the Directory Security tab. Then, click on the Edit button (in the Anonymous access and authentication control section). Uncheck Anonymous Access at the top and, at the bottom, check the Integrated Windows Authentication box (in the Authenticated Access section).

------------------------------------------------------------------------------------------------------------------------
"Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."
- Winston Churchill
 
sorry secondreckoned...i should have gone into further detail instead of a one liner after the servervariables example...chopstick gave more details for you...any problems let us know
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top