Getting NT Login - revisited...
Posted on 2004-08-03
I know this question has seen some action in the past... but I am having issues.
I would like to get the NT LOGIN from REMOTE_USER, AUTH_USER, or WindowsIdentity.
I use this simple test code to check what Request Vars are available:
<% For Each name In Request.ServerVariables %>
<TD> <%= name %> </TD><TD> <%= Request.ServerVariables(name) %></TD>
<% Next %>
both REMOTE_USER and AUTH_USER are blank... Anyone know why this is? I am in an intranet environment running IIS 5.0. Can someone help me find something that works? I really only need the nt login username, I can then perform validation/control through LDAP queries using ColdFusion or ASP.