UserInfo Interface Properties and Methods

The UserInfo object has the following properties:

Properties Access type Description
Logon Read-only Calls the Win32® function GetUserName to retrieve and store the current user's logon name.
ComputerName Read-only Calls the Win32 function GetComputerName to retrieve and store the client computer name.

For more information about these properties, see UserInfo Object in the CML Object Reference.