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");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top