AuthenticablePrincipal Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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.

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 collection of authentication principal objects that have an incorrect password try recorded in the specified date and time range.

System_CAPS_protmethodSystem_CAPS_staticFindByBadPasswordAttempt<T>(PrincipalContext, DateTime, MatchType)

Returns a PrincipalSearchResult<T> collection of objects that have a bad password attempt within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.

System_CAPS_pubmethodSystem_CAPS_staticFindByExpirationTime(PrincipalContext, DateTime, MatchType)

Returns a collection of authentication principal objects that have an account expiration time recorded in the specified date and time range.

System_CAPS_protmethodSystem_CAPS_staticFindByExpirationTime<T>(PrincipalContext, DateTime, MatchType)

Returns a PrincipalSearchResult<T> collection of objects that have an expiration time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.

System_CAPS_pubmethodSystem_CAPS_staticFindByLockoutTime(PrincipalContext, DateTime, MatchType)

Returns a collection of authentication principal objects that have an account lockout time recorded in the specified date and time range.

System_CAPS_protmethodSystem_CAPS_staticFindByLockoutTime<T>(PrincipalContext, DateTime, MatchType)

Returns a PrincipalSearchResult<T> collection of objects that have a lockout time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.

System_CAPS_pubmethodSystem_CAPS_staticFindByLogonTime(PrincipalContext, DateTime, MatchType)

Returns a collection of authentication principal objects that have an account logon recorded in the specified date and time range.

System_CAPS_protmethodSystem_CAPS_staticFindByLogonTime<T>(PrincipalContext, DateTime, MatchType)

Returns a PrincipalSearchResult<T> collection of objects that have a logon time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.

System_CAPS_pubmethodSystem_CAPS_staticFindByPasswordSetTime(PrincipalContext, DateTime, MatchType)

Returns a collection of authentication principal objects that have an account password set recorded in the specified date and time range.

System_CAPS_protmethodSystem_CAPS_staticFindByPasswordSetTime<T>(PrincipalContext, DateTime, MatchType)

Returns a PrincipalSearchResult<T> collection of objects that have a password set time within the specified date and time range. This is the template function for extended classes that wish to implement this functionality.

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.

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.

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.

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.

Return to top
Show: