The ActiveDirectoryUserObject type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|
|
AccountExpirationDate |
Gets or sets the nullable account expiration date
|
|
|
AccountGuid |
Gets the account's GUID value
|
|
|
AccountLockoutTime |
Gets the nullable date the account was locked out
|
|
|
BadLogonCount |
Gets the number of invalid logon attempts were made using this account
|
|
|
Description |
Gets or sets the account's description
|
|
|
DisplayName |
Gets or sets the account's display name
|
|
|
DistinguishedName |
Gets the account's distinguished name (DN)
|
|
|
EmailAddress |
Gets or sets the accoount's email address
|
|
|
EmployeeId |
Gets or sets the account's employee ID
|
|
|
Enabled |
Gets or sets whether the account is enabled
|
|
|
GivenName |
Gets or sets the account's given name
|
|
|
HomeDirectory |
Gets or sets the account's home directory
|
|
|
HomeDrive |
Gets or sets the account's home drive
|
|
|
IsAccountLockedOut |
Gets whether the account is currently locked out
|
|
|
LastBadPasswordAttempt |
Gets the nullable datetime of the account's last bad password attempt
|
|
|
LastLogon |
Gets the nullable datetime of the account's last logon attempt
|
|
|
LastPasswordSet |
Gets the nullable datetime of the account's last password change
|
|
|
MiddleName |
Gets or sets the account's middle name
|
|
|
Name |
Gets or sets the name of the account
|
|
|
ObjectName |
Returns the active directory object name
(Inherited from ActiveDirectoryObject.) |
|
|
ObjectPath |
Returns the active directory object path
(Inherited from ActiveDirectoryObject.) |
|
|
ObjectType |
Returns the enumerated active directory object type
(Inherited from ActiveDirectoryObject.) |
|
|
PasswordNeverExpires |
Gets or sets whether the account expires
|
|
|
PasswordNotRequired |
Gets or sets whether the account password is required
|
|
|
SamAccountName |
Gets or sets the SAM account name
|
|
|
ScriptPath |
Gets or sets the account's script path
|
|
|
SmartcardLogonRequired |
Gets or sets whether the account requires a smart card to log on
|
|
|
StructuralObjectClass |
Gets the account's structural object class attribute
|
|
|
Surname |
Gets or sets the account's surname
|
|
|
UserCannotChangePassword |
Gets or sets whether the user can change the password
|
|
|
UserPrincipalName |
Gets or sets the account principal name (UPN)
|
|
|
VoiceTelephoneNumber |
Gets or sets the account voice telephone number
|
See Also