jump to navigation

Authentication Using the Request.ServerVariables Object January 09 2006

A quick way to grab the login of a user on a local network through ASP.NET is to use the Request.ServerVariables object.

Specifically : Request.ServerVariables(”LOGON_USER”)

This will provide a string such as “DOMAIN\USER_ID”

One thing to note is that you need to have anonymous access turned off before it can see the NT Authentication

Comments

Sorry comments are closed for this entry