Programming with Reflection
PCUserName property
Syntax |
object.PCUserName |
Works with |
|
Data type |
Returns the current user name for the computer that is running Reflection. (The user name is entered in the Logon Information dialog box when you start Windows.) For example, to display the current user name:
MsgBox Session.PCUserName
This property is read-only.