I need to get the user name of the person that is logged into a network from a client machine. This is for an intranet. I have the following code:
Dim objNet
Set objNet = CreateObject("WScript.NetWork"
session("UserName"=objNet.UserName
However, this gives me the name that is logged into the web server i.e. IUSR_SERVERNAME
How can I get the user name of the person logged into the network or even the client machine?
TIA
Nate
Dim objNet
Set objNet = CreateObject("WScript.NetWork"
session("UserName"=objNet.UserName
However, this gives me the name that is logged into the web server i.e. IUSR_SERVERNAME
How can I get the user name of the person logged into the network or even the client machine?
TIA
Nate