ActiveDirectoryUserObject Class ACDLib API Documentation
Encapsulates an active directory derived object of type ActiveDirectoryUserObject which represents a user in the active directory
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodAuthenticateUser
Authenticates the current user in the domain using a supplied password
Public methodChangePassword
Changes the password of the current user account to a new one
Public methodDelete
Deletes the current object from the active directory
(Inherited from ActiveDirectoryObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExpirePasswordNow
Expires the password of the current user immediately
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetGroups
Retrieves all groups the current user is a member of
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetProperties
Retrieves the properties collection of the current object
(Inherited from ActiveDirectoryObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsMemberOf
Returns whether the current user account is a member of a given ActiveDirectoryGroup object
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the current object to a new container
(Inherited from ActiveDirectoryObject.)
Public methodRefreshExpiredPassword
Resets the password age of the current user to 0
Public methodRename
Renames the current object from the active directory
(Inherited from ActiveDirectoryObject.)
Public methodSetPassword
Sets a password against the current user
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUnlockAccount
Unlocks the current user account
Top
Properties

  NameDescription
Public propertyAccountExpirationDate
Gets or sets the nullable account expiration date
Public propertyAccountGuid
Gets the account's GUID value
Public propertyAccountLockoutTime
Gets the nullable date the account was locked out
Public propertyBadLogonCount
Gets the number of invalid logon attempts were made using this account
Public propertyDescription
Gets or sets the account's description
Public propertyDisplayName
Gets or sets the account's display name
Public propertyDistinguishedName
Gets the account's distinguished name (DN)
Public propertyEmailAddress
Gets or sets the accoount's email address
Public propertyEmployeeId
Gets or sets the account's employee ID
Public propertyEnabled
Gets or sets whether the account is enabled
Public propertyGivenName
Gets or sets the account's given name
Public propertyHomeDirectory
Gets or sets the account's home directory
Public propertyHomeDrive
Gets or sets the account's home drive
Public propertyIsAccountLockedOut
Gets whether the account is currently locked out
Public propertyLastBadPasswordAttempt
Gets the nullable datetime of the account's last bad password attempt
Public propertyLastLogon
Gets the nullable datetime of the account's last logon attempt
Public propertyLastPasswordSet
Gets the nullable datetime of the account's last password change
Public propertyMiddleName
Gets or sets the account's middle name
Public propertyName
Gets or sets the name of the account
Public propertyObjectName
Returns the active directory object name
(Inherited from ActiveDirectoryObject.)
Public propertyObjectPath
Returns the active directory object path
(Inherited from ActiveDirectoryObject.)
Public propertyObjectType
Returns the enumerated active directory object type
(Inherited from ActiveDirectoryObject.)
Public propertyPasswordNeverExpires
Gets or sets whether the account expires
Public propertyPasswordNotRequired
Gets or sets whether the account password is required
Public propertySamAccountName
Gets or sets the SAM account name
Public propertyScriptPath
Gets or sets the account's script path
Public propertySmartcardLogonRequired
Gets or sets whether the account requires a smart card to log on
Public propertyStructuralObjectClass
Gets the account's structural object class attribute
Public propertySurname
Gets or sets the account's surname
Public propertyUserCannotChangePassword
Gets or sets whether the user can change the password
Public propertyUserPrincipalName
Gets or sets the account principal name (UPN)
Public propertyVoiceTelephoneNumber
Gets or sets the account voice telephone number
Top
See Also

Reference