paul trower 5.Mar.09 04:15 AM a Web browser Domino Designer6.0.3Windows XP
Hi
We have an Intranet and when people are in the office we capture their details like this:
var WshNetwork = new ActiveXObject("WScript.Network");
alert("using the WScript method");
alert(WshNetwork.Username);
alert(WshNetwork.UserDomain);
or
var oShell=new ActiveXObject("WScript.Shell");
alert("using the oShell method");
alert(oShell.ExpandEnvironmentStrings("%USERNAME%"));
alert(oShell.ExpandEnvironmentStrings("%USERDOMAIN%"));
but when the person is logged on to Citrix all this reports is the local username and domain and not the one they are logged into.
Is there a way to ascertain who is logged on in the browser when the person is at home ?