Click or drag to resize

User Properties

The User type exposes the following members.

Properties
  NameDescription
Public propertyAccountPicture
Gets the account picture for the user.
Public propertyDisplayName
Gets the display name for the user account.
Public propertyDomainName
Gets the domain name for the user.
Public propertyEmailAddress
Gets the user's email address.
Public propertyFirstName
Gets the user's first name.
Public propertyHomeDirectory
Gets the user's home directory.
Public propertyIsLocalAccount
Gets a value that indicates if the user account is local or domain.

Returns true if the account is a local account, otherwise false

Public propertyIsLockedOut
Gets a value that indicates if the user is locked out or not
Public propertyLastName
Gets the user's last name.
Public propertyPrincipalName
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.)
Public propertyTelephoneNumber
Gets the telephone number of the user
Public propertyUserName
Gets the user name of the user.
Public propertyWTSClientName
Gets a the user's Windows Terminal Service's client name. The value will fallback to MachineName if there is no client name available.
Top
See Also