![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | UserName returns SLUser 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? Thanks! Cole |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista login "incorrect username or password" with correct username and password entry | Vista General | |||
| ipconfig returns too much | Vista networking & sharing | |||
| BSOD returns! | Vista performance & maintenance | |||
| EnumDisplayDevices from a service, returns none... | Vista General | |||
| ShellExecute returns SE_ERR_ACCESSDENIED | Vista installation & setup | |||