Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UserName returns SLUser

0 views
Skip to first unread message

Cole

unread,
Oct 2, 2009, 11:43:30 AM10/2/09
to
I'm using Desktop Authority to execute a script for a couple of
hundred users. Mostly Windows XP boxes...

The code that gets executed is returning a UserName of 'SLUser'
instead of the person's actual login ID.

I've tried a couple different approaches, such as this:

Dim strUserName
Set WSHNetwork = CreateObject("WScript.Network")
strUserName = WSHNetwork.UserName
msgbox "User Name is " & strUserName


Any suggestions on how I can capture the actual user's login ID while
DA is running my script?

Thanks!
Cole

0 new messages