![]() | User Properties |
The User type exposes the following members.
Name | Description | |
---|---|---|
![]() | BadPasswordCount |
The number of times the user has entered a bad password.
Returns a negative number is there is an error retrieving the value.
|
![]() | BadPasswordTime |
The last time that the user entered a bad password when authenticating to AD.
|
![]() | CommonName |
The Common Name (CN) of the object in Active Directory.
(Inherited from ActiveDirectoryObject.) |
![]() | CreateTimeStamp |
The time the object was created in UTC.
(Inherited from ActiveDirectoryObject.) |
![]() | Department |
The Department the user belongs to.
|
![]() | Description |
A description of the security principal.
(Inherited from SecurityPrincipal.) |
![]() | DisplayName |
The user's display name.
|
![]() | DistinguishedName |
The Distinguished Name (DN) of the object in Active Directory.
(Inherited from ActiveDirectoryObject.) |
![]() | Division |
The user's division in the organization.
|
![]() | EMailAddress |
The principal's e-mail address.
(Inherited from SecurityPrincipal.) |
![]() | EmailAddresses |
A list of the principal's e-mail addresses.
(Inherited from SecurityPrincipal.) |
![]() | EmployeeId |
The Employee Id of the user.
|
![]() | EmployeeNumber |
The employee number of the user.
|
![]() | ExchangeAlias |
The principal's Microsoft Exchange Alias.
(Inherited from SecurityPrincipal.) |
![]() | FirstName |
The user's first name.
|
![]() | FTPDirectory |
The FTP Directory for the user off the FTP root.
|
![]() | FTPRoot |
The root directory for FTP access by the user.
|
![]() | Groups |
The distinguished names of groups that this principal is a member of.
(Inherited from SecurityPrincipal.) |
![]() | GUID |
The GUID of the object in Active Directory.
(Inherited from ActiveDirectoryObject.) |
![]() | HomeDirectory |
The path to the user's home directory.
|
![]() | HomeDrive |
The user's home drive letter.
|
![]() | HomePage |
The user's home page URL.
|
![]() | IsDisabled |
Whether the user's account is disabled in Active Directory.
|
![]() | IsGroup |
Indicates if this principal is a Group.
(Inherited from SecurityPrincipal.) |
![]() | IsUser |
Indicates if this principal is a User.
(Inherited from SecurityPrincipal.) |
![]() | LastName |
The user's last name.
|
![]() | LogonScript |
The path to the user's logon script.
|
![]() | Manager |
The distinguished name of the user's Manager.
|
![]() | MustChangePasswordAtNextLogon |
Whether the user has to change their password at their next logon.
|
![]() | OrganizationalUnit |
The distinguished name of the organizational unit or parent object containing the object.
(Inherited from ActiveDirectoryObject.) |
![]() | PasswordExpired |
Whether the user's password has expired.
|
![]() | PasswordLastSet |
The date and time that the user's password was last site.
|
![]() | PhoneNumber |
The user's telephone number.
|
![]() | PrimaryEmailAddress |
The principal's primary e-mail address.
(Inherited from SecurityPrincipal.) |
![]() | SAMAccountName |
The principal's SAM Account Name.
(Inherited from SecurityPrincipal.) |
![]() | SchemaClasses |
The schema class types that identify the type of object this is in Active Directory.
Examples: group, user, etc.
(Inherited from ActiveDirectoryObject.) |
![]() | SecurityIdentifier |
The user's security identifier (SID).
|
![]() | StreetAddress |
The user's street address.
|
![]() | TargetAddress |
The principal's target e-mail address. Used by Exchange for routing e-mail to its
final destination which may lie outside of the organization. Allows for an object
to appear in the GAL even though its e-mail address may be outside of Exchange.
Also used when routing e-mail to the Microsoft Office365 cloud from an on-premises
Exchange server.
(Inherited from SecurityPrincipal.) |
![]() | Title |
The user's title.
|
![]() | UserAccountControl |
Gets the user's UserAccountControl property.
A return of 0 means there was an error retrieving the property.
|
![]() | UserAccountControlComputed |
Gets the user's computed UserAccountControl property.
A return value of 0 means it wasn't computed.
|
![]() | UserPrincipalName |
The User Principal Name of the principal.
(Inherited from SecurityPrincipal.) |