"be consistent" | |
PerlMonks |
Buzzcutbuddha (One way)-RE: finding NT usernamesby buzzcutbuddha (Chaplain) |
on Aug 25, 2000 at 16:36 UTC ( [id://29609]=note: print w/replies, xml ) | Need Help?? |
Well two things: In IIS, you need to require user authentication, otherwise, the machines will not send the authentication information, and then, if you have the Perl IIS mappings you can use the variable $Request->ServerVariables("REMOTE_USER")->Item which returns the authenticated user. That works in the actually ASP pages only. Running as a script, you may want to look into Win32::Eventlog and then send all page access to the EventLog running on your server.
In Section
Seekers of Perl Wisdom
|
|