This documentation is archived and is not being maintained.

ActiveDirectoryMembershipProvider Methods

The ActiveDirectoryMembershipProvider type exposes the following members.

Public method ChangePassword Changes the password for the specified user. (Overrides MembershipProvider.ChangePassword(String, String, String).)
Public method ChangePasswordQuestionAndAnswer Updates the password question and answer for a user in the Active Directory store. (Overrides MembershipProvider.ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public method CreateUser Adds a new user to the Active Directory data store. (Overrides MembershipProvider.CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).)
Protected method DecryptPassword Decrypts an encrypted password. (Inherited from MembershipProvider.)
Public method DeleteUser Removes a user's membership information from the Active Directory data store. (Overrides MembershipProvider.DeleteUser(String, Boolean).)
Protected method EncryptPassword(Byte[]) Encrypts a password. (Inherited from MembershipProvider.)
Protected method EncryptPassword(Byte[], MembershipPasswordCompatibilityMode) Encrypts the specified password using the specified password-compatibility mode. (Inherited from MembershipProvider.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindUsersByEmail Returns a collection of membership users from the Active Directory data store based on the user's e-mail address. (Overrides MembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32).)
Public method FindUsersByName Returns a collection of users from the Active Directory data store based on the user name. (Overrides MembershipProvider.FindUsersByName(String, Int32, Int32, Int32).)
Public method GeneratePassword Generates a random password.
Public method GetAllUsers Gets a collection of all the users stored in an Active Directory data source. (Overrides MembershipProvider.GetAllUsers(Int32, Int32, Int32).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNumberOfUsersOnline Throws a NotSupportedException exception in all cases. (Overrides MembershipProvider.GetNumberOfUsersOnline().)
Public method GetPassword Returns the password of the specified user from the database. The ActiveDirectoryMembershipProvider class does not support this method. (Overrides MembershipProvider.GetPassword(String, String).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUser(Object, Boolean) Gets the membership user information associated with the specified user key. (Overrides MembershipProvider.GetUser(Object, Boolean).)
Public method GetUser(String, Boolean) Gets the membership user information associated with the specified user name. (Overrides MembershipProvider.GetUser(String, Boolean).)
Public method GetUserNameByEmail Gets the user name associated with the specified e-mail address. (Overrides MembershipProvider.GetUserNameByEmail(String).)
Public method Initialize Initializes the ActiveDirectoryMembershipProvider instance with the property values from the application's configuration files. This method is not intended to be called from your code. (Overrides ProviderBase.Initialize(String, NameValueCollection).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValidatingPassword Raises the ValidatingPassword event if an event handler has been defined. (Inherited from MembershipProvider.)
Public method ResetPassword Resets a user's password to a new, automatically generated password. (Overrides MembershipProvider.ResetPassword(String, String).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnlockUser Clears a lock so that a membership user can be validated. (Overrides MembershipProvider.UnlockUser(String).)
Public method UpdateUser Updates information about a user in the Active Directory data store. (Overrides MembershipProvider.UpdateUser(MembershipUser).)
Public method ValidateUser Verifies that the specified user name and password exist in the Active Directory data store. (Overrides MembershipProvider.ValidateUser(String, String).)