Encapsulates an active directory derived object of type ActiveDirectoryComputerObject which represents a computer
in the active directory
Inheritance Hierarchy
Inkostar.ClassesActiveDirectoryObject
Inkostar.ClassesActiveDirectoryComputerObject
Namespace: Inkostar.Classes
Assembly: ACDLib (in ACDLib.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public class ActiveDirectoryComputerObject : ActiveDirectoryObject, IActiveDirectoryComputerObject
The ActiveDirectoryComputerObject type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ChangePassword |
Changes the password of the current computer 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 computer 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 computer is a member of
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNetworkShares |
Retrieves the list of network shares within the current computer 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 computer 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 |
Refreshes the current computer account expired password
| |
| Rename |
Renames the current object from the active directory
(Inherited from ActiveDirectoryObject.) | |
| SetPassword |
Sets a password against the current computer
| |
| ToString | (Inherited from Object.) | |
| UnlockAccount |
Unlocks the current computer account
|
Properties
| Name | Description | |
|---|---|---|
| AccountExpirationDate |
Gets or sets the nullable account's expiration date
| |
| AccountGuid |
Gets the account's GUID value
| |
| AccountLockoutTime |
Gets the nullable date the account was locked out
| |
| AllowReversiblePasswordEncryption |
Gets or sets whether the account supports reversible password encryption
| |
| BadLogonCount |
Gets the number of invalid logon attempts were made using this account
| |
| DelegationPermitted |
Gets or sets whether the account supports delegation
| |
| 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)
| |
| Enabled |
Gets or sets whether the account is enabled
| |
| 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
| |
| 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
| |
| UserPrincipalName |
Gets or sets the account principal name (UPN)
|
See Also