Does anybody know how to get ServerVariables(LOGON_USER) in ASP.NET?
I have an intranet application in classic ASP wherein I get the ntlogin of the user 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).
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.
Any ideas?
Thanks in advance.
I have an intranet application in classic ASP wherein I get the ntlogin of the user 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).
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.
Any ideas?
Thanks in advance.