ComputerPrincipal Methods

 

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

NameDescription
System_CAPS_pubmethodChangePassword(String, String)

Changes the account password from the old password to the new password. Do not use this with a ComputerPrincipal.(Inherited from AuthenticablePrincipal.)

System_CAPS_protmethodCheckDisposedOrDeleted()

Determines whether the Dispose or Delete methods have been called on this class. This method is called by classes that derive from this principal class. (Inherited from Principal.)

System_CAPS_pubmethodDelete()

Deletes the principal object from the store. (Inherited from Principal.)

System_CAPS_pubmethodDispose()

Disposes the current instance of the Principal object.(Inherited from Principal.)

System_CAPS_pubmethodEquals(Object)

Returns a Boolean value that specifies whether the supplied object is equal to the current object. (Inherited from Principal.)

System_CAPS_pubmethodExpirePasswordNow()

Expires the password for this account. This will force the user to change his/her password at the next logon.(Inherited from AuthenticablePrincipal.)

System_CAPS_protmethodExtensionGet(String)

Retrieves an attribute of an extended class object.(Inherited from Principal.)

System_CAPS_protmethodExtensionSet(String, Object)

Sets the value of an attribute in an extended class.(Inherited from Principal.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFindByBadPasswordAttempt(PrincipalContext, DateTime, MatchType)

Returns a T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1 collection of T:System.DirectoryService.AccountManagement.ComputerPincipal objects that have had bad password attempts within the parameters specified.

System_CAPS_pubmethodSystem_CAPS_staticFindByExpirationTime(PrincipalContext, DateTime, MatchType)

Returns a T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1 collection of T:System.DirectoryService.AccountManagement.ComputerPincipal objects that have an expiration time within the specified date and time range.

System_CAPS_pubmethodSystem_CAPS_staticFindByIdentity(PrincipalContext, IdentityType, String)

Returns a computer principal object that matches the specified identity type and value. This version of the FindByIdentity method determines the format of the identity value.

System_CAPS_pubmethodSystem_CAPS_staticFindByIdentity(PrincipalContext, String)

Returns a computer principal object that matches the specified identity value.

System_CAPS_pubmethodSystem_CAPS_staticFindByLockoutTime(PrincipalContext, DateTime, MatchType)

Returns a T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1 collection of T:System.DirectoryService.AccountManagement.ComputerPincipal objects that have a lockout time within the specified date and time range.

System_CAPS_pubmethodSystem_CAPS_staticFindByLogonTime(PrincipalContext, DateTime, MatchType)

Returns a T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1 collection of T:System.DirectoryService.AccountManagement.ComputerPincipal objects that have a logon time within the specified date and time range.

System_CAPS_pubmethodSystem_CAPS_staticFindByPasswordSetTime(PrincipalContext, DateTime, MatchType)

Returns a T:System.DirectoryService.AccountManagement.PrincipalSearchResult'1 collection of T:System.DirectoryService.AccountManagement.ComputerPincipal objects that have a password set time within the specified date and time range.

System_CAPS_pubmethodGetGroups()

Returns a collection of group objects that specify the groups of which the current principal is a member. (Inherited from Principal.)

System_CAPS_pubmethodGetGroups(PrincipalContext)

Returns a collection of group objects that the principal is a member of and that exist in the store provided by the specified context parameter. (Inherited from Principal.)

System_CAPS_pubmethodGetHashCode()

Retrieves the hash created from the contents of the principal object, suited for use in hashing algorithms and data structures like a hash table.(Inherited from Principal.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUnderlyingObject()

Returns the underlying DirectoryEntry object that provides the contact data for the principal object. (Inherited from Principal.)

System_CAPS_pubmethodGetUnderlyingObjectType()

Returns the underlying object type. (Inherited from Principal.)

System_CAPS_pubmethodIsAccountLockedOut()

Returns a Boolean value that specifies whether the account is currently locked out. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubmethodIsMemberOf(GroupPrincipal)

Returns a Boolean value that specifies whether the principal is a member of the specified group. (Inherited from Principal.)

System_CAPS_pubmethodIsMemberOf(PrincipalContext, IdentityType, String)

Returns a Boolean value that specifies whether the principal is a member of the group specified by identity type and value. (Inherited from Principal.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRefreshExpiredPassword()

Refreshes an expired password. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubmethodSave()

Saves the changes that were made on the principal object to the store. If this is a new principal object, this method inserts it into the store.(Inherited from Principal.)

System_CAPS_pubmethodSave(PrincipalContext)

Saves the changes that were made on the principal object to the store. If this is a new principal object, this method inserts it into the specified context. If the principal has already been persisted, it is moved from the original context to the specified context. (Inherited from Principal.)

System_CAPS_pubmethodSetPassword(String)

Sets the account password to the specified value. (Inherited from AuthenticablePrincipal.)

System_CAPS_pubmethodToString()

Returns a user friendly string representation of the current principal object.(Inherited from Principal.)

System_CAPS_pubmethodUnlockAccount()

Unlocks the account if it is currently locked out. (Inherited from AuthenticablePrincipal.)

Return to top
Show: