Discussion Locked

Interrogate user login name

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This is probably bread and butter but I need to know how I can capture the log in name for a user on a Windows 2K domain using a VBScript asp page running on an IIS intranet server. There is more than one domain accessing the server but I do not need to know password or domain name, just login name (as these are unique across the domains).

Any help appreciated.

5 replies

by steven_v_brown

In IIS set the page properties to authenicate. (Remove Anonymous Flag)

Then in your ASP query your Server Variable
I.e.:
UserID = Request.ServerVariables("Auth_User)
"Auth_User" or "Remote_User"

That will return the User that is Logged onto the PC.

by steven_v_brown

In IIS set the page properties to authenicate. (Remove Anonymous Flag)

Then in your ASP query your Server Variable
I.e.:
UserID = Request.ServerVariables("Auth_User)
"Auth_User" or "Remote_User"

That will return the User that is Logged onto the PC.

This discussion is closed to new replies.