The UserName property provides a string representation of the user name.
WshNetwork.UserName = strName
© 1997 by Microsoft Corporation. All rights reserved.