--
Will
Internet: westes AT earthbroadcast.com
>Under Windows 2000, a batch file or VB program can use environment variables
>UserName and UserDomain to get informal credentials of the current logged on
>user. Under Windows 2003, these environment variables do not appear to
>exist. What is the approved method for obtaining this information under
>Windows 2003?
How would you like to? :)
A common method is to use the WSH Network Object:
http://www.devguru.com/Technologies/wsh/quickref/wshnetwork.html
Jeff
--
Roger Abell
Microsoft MVP (Windows Security)
"Will" <DELETE...@earthbroadcast.com> wrote in message
news:%23s$irjhbF...@TK2MSFTNGP09.phx.gbl...
--
Will
Internet: westes AT earthbroadcast.com
"Roger Abell" <mvpN...@asu.edu> wrote in message
news:OvIQIp#bFHA...@TK2MSFTNGP12.phx.gbl...
--
Roger Abell
Microsoft MVP (Windows Security)
"Will" <DELETE...@earthbroadcast.com> wrote in message
news:4_mdnakcPd3...@giganews.com...
--
Will
Internet: westes AT earthbroadcast.com
"Roger Abell" <mvpN...@asu.edu> wrote in message
news:e3RzgTPc...@TK2MSFTNGP09.phx.gbl...
Hopefully someone else picks up on this thread with an idea !!
--
Roger Abell
Microsoft MVP (Windows Security)
"Will" <DELETE...@earthbroadcast.com> wrote in message
news:0uadnV3WP9T...@giganews.com...