UserInformation Properties |
The UserInformation type exposes the following members.
Name | Description | |
---|---|---|
AccountPicture |
Gets the account picture for the user.
| |
CurrentUser |
Gets the current user
| |
DisplayName |
Gets the display name for the user account.
| |
DomainName |
Gets the domain name for the user.
| |
EmailAddress |
Gets the user's email address.
| |
FirstName |
Gets the user's first name.
| |
HomeDirectory |
Gets the user's home directory.
| |
IsCurrentUserAnAdministrator |
Tests whether the current user is an elevated administrator.
| |
IsLocalAccount |
Gets a value that indicates if the user account is local or domain.
Returns true if the account is a local account, otherwise false
| |
IsLockedOut |
Gets a value that indicates if the user is locked out or not
| |
LastName |
Gets the user's last name.
| |
PrincipalName |
Gets the principal name for the user. This name is the User Principal Name (typically the
user's address, although this is not always true.)
| |
TelephoneNumber |
Gets the telephone number of the user
| |
UserName |
Gets the user name of the user.
| |
WTSClientName |
Gets a the user's Windows Terminal Service's client name. The value will fallback to MachineName if there is no client name available.
|