Identity of User using Script

R

Rags Iyer

How can i identify the identity of the user ,using the script .The same can
be done by using SDK which is not desired ,scripting solution would be highly
helpful

Regards,
Rags Iyer
 
M

Michelle

using jscript you can try the following using ActiveX:

var wshShell = new ActiveXObject("Wscript.Shell");
var wshEnv = wshShell.Environment("Process");
var username = wshEnv.Item("UserName");
 
Top