Does anybody know how to get ServerVariables(LOGON_USER) in ASP.NET?<BR><BR>I have an intranet application in classic ASP wherein I get the ntlogin of the user by using ServerVariables(LOGON_USER) and then check their access rights to the application. This way, the user does not need to enter separate login (just use their network id).<BR><BR>In ASP.NET, when I try to get the ServerVariables(LOGON_USER), I am getting nothing. I have set the Anonymous access off and use integrated windows security in IIS for the application (same as the classic ASP application I am rewriting).<BR><BR>Any ideas on how to get user ntlogin in ASP.NET?<BR><BR>Thanks in advance.<BR>Try... Response.write(Request.ServerVariables("ALL_HTTP"))<BR><BR>Also,<BR><BR>Take a look at the TRACE feature - I've found this useful<BR><BR><% @PAGE Language="vb" trace="true" %><BR><BR>Dumps out all of the server variables