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

NT Check

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
I know you can do this, but where would I find it? I need to access the NT Athunication using ASP to see if the current user is valid and on the network.

Any ideas?

Thanks in advance
 
This is what I use to check NT login:

<%'Force a login box and validate user
If Request.Servervariables(&quot;Auth_User&quot;) = &quot;&quot; then
response.status = &quot;401 Access Denied&quot;
Response.Write &quot;Access Denied&quot;
response.end
Else
user = Request.ServerVariables(&quot;LOGON_USER&quot;)
Response.Write &quot;User: &quot; & user
End If
%>

Hope that helps...
mwa

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top