Encapsulates an active directory derived object of type ActiveDirectoryUserObject which represents a user in the
active directory
Inheritance Hierarchy
Inkostar.ClassesActiveDirectoryObject
Inkostar.ClassesActiveDirectoryUserObject
Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public class ActiveDirectoryUserObject : ActiveDirectoryObject, IActiveDirectoryUserObject
The ActiveDirectoryUserObject type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AuthenticateUser |
Authenticates the current user in the domain using a supplied password
| |
| ChangePassword |
Changes the password of the current user account to a new one
| |
| Delete |
Deletes the current object from the active directory
(Inherited from ActiveDirectoryObject.) | |
| Equals | (Inherited from Object.) | |
| ExpirePasswordNow |
Expires the password of the current user immediately
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetGroups |
Retrieves all groups the current user is a member of
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetProperties |
Retrieves the properties collection of the current object
(Inherited from ActiveDirectoryObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsMemberOf |
Returns whether the current user account is a member of a given ActiveDirectoryGroup object
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move |
Moves the current object to a new container
(Inherited from ActiveDirectoryObject.) | |
| RefreshExpiredPassword |
Resets the password age of the current user to 0
| |
| Rename |
Renames the current object from the active directory
(Inherited from ActiveDirectoryObject.) | |
| SetPassword |
Sets a password against the current user
| |
| ToString | (Inherited from Object.) | |
| UnlockAccount |
Unlocks the current user account
|
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