WshNetwork.UserName

The UserName property provides a string representation of the user name.

Syntax

WshNetwork.UserName = strName