Hi guys,
here's my problem with my form library on a Sharepoint Site:
I usually use this VBScript code to get username and userdomain:
Set X = CreateObject("WScript.Network")
user = X.UserName
dom = X.UserDomain
An user of mine in our subsidiary uses one account to log in the local computer (this is NOT in our domain) and another account (in our domain) to use Sharepoint (right-click on Explorer icon, then "Run As..."). The code above gives me the first account used to log in the computer and not that used to access sharepoint site. So, how can i get the second account used for sharepoint site?
Thank u!