This documentation is archived and is not being maintained.
ActiveDirectoryMembershipProvider Members
Visual Studio 2008
Manages storage of membership information for an ASP.NET application in Active Directory and Active Directory Application Mode servers.
The ActiveDirectoryMembershipProvider type exposes the following members.
| Name | Description | |
|---|---|---|
|
ActiveDirectoryMembershipProvider | Creates a new instance of the ActiveDirectoryMembershipProvider class. |
| Name | Description | |
|---|---|---|
|
ChangePassword | Changes the password for the specified user. (Overrides MembershipProvider.ChangePassword(String, String, String).) |
|
ChangePasswordQuestionAndAnswer | Updates the password question and answer for a user in the Active Directory store. (Overrides MembershipProvider.ChangePasswordQuestionAndAnswer(String, String, String, String).) |
|
CreateUser | Adds a new user to the Active Directory data store. (Overrides MembershipProvider.CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).) |
|
DecryptPassword | Decrypts an encrypted password. (Inherited from MembershipProvider.) |
|
DeleteUser | Removes a user's membership information from the Active Directory data store. (Overrides MembershipProvider.DeleteUser(String, Boolean).) |
|
EncryptPassword | Encrypts a password. (Inherited from MembershipProvider.) |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
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).) |
|
FindUsersByName | Returns a collection of users from the Active Directory data store based on the user name. (Overrides MembershipProvider.FindUsersByName(String, Int32, Int32, Int32).) |
|
GeneratePassword | Generates a random password. |
|
GetAllUsers | Gets a collection of all the users stored in an Active Directory data source. (Overrides MembershipProvider.GetAllUsers(Int32, Int32, Int32).) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetNumberOfUsersOnline | Throws a NotSupportedException exception in all cases. (Overrides MembershipProvider.GetNumberOfUsersOnline().) |
|
GetPassword | Returns the password of the specified user from the database. The ActiveDirectoryMembershipProvider class does not support this method. (Overrides MembershipProvider.GetPassword(String, String).) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetUser | Overloaded. Gets the information from a membership user in the Active Directory data store. |
|
GetUserNameByEmail | Gets the user name associated with the specified e-mail address. (Overrides MembershipProvider.GetUserNameByEmail(String).) |
|
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).) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnValidatingPassword | Raises the ValidatingPassword event if an event handler has been defined. (Inherited from MembershipProvider.) |
|
ResetPassword | Resets a user's password to a new, automatically generated password. (Overrides MembershipProvider.ResetPassword(String, String).) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
UnlockUser | Clears a lock so that a membership user can be validated. (Overrides MembershipProvider.UnlockUser(String).) |
|
UpdateUser | Updates information about a user in the Active Directory data store. (Overrides MembershipProvider.UpdateUser(MembershipUser).) |
|
ValidateUser | Verifies that the specified user name and password exist in the Active Directory data store. (Overrides MembershipProvider.ValidateUser(String, String).) |
| Name | Description | |
|---|---|---|
|
ApplicationName | The name of the application using the custom membership provider. (Overrides MembershipProvider.ApplicationName.) |
|
CurrentConnectionProtection | Gets the current level of security being used to protect communications with the server. |
|
Description | Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.) |
|
EnablePasswordReset | Gets a value indicating whether the ActiveDirectoryMembershipProvider instance is configured to allow users to reset their passwords. (Overrides MembershipProvider.EnablePasswordReset.) |
|
EnablePasswordRetrieval | Gets a value indicating whether the user's password can be retrieved from the Active Directory data store. This property always returns false. (Overrides MembershipProvider.EnablePasswordRetrieval.) |
|
EnableSearchMethods | Gets a value indicating whether search-oriented ActiveDirectoryMembershipProvider methods are available. |
|
MaxInvalidPasswordAttempts | Gets the number of failed answer attempts a user is allowed for the password-reset question. (Overrides MembershipProvider.MaxInvalidPasswordAttempts.) |
|
MinRequiredNonAlphanumericCharacters | Gets the minimum number of special characters that must be present in a valid password. (Overrides MembershipProvider.MinRequiredNonAlphanumericCharacters.) |
|
MinRequiredPasswordLength | Gets the minimum length required for a password. (Overrides MembershipProvider.MinRequiredPasswordLength.) |
|
Name | Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.) |
|
PasswordAnswerAttemptLockoutDuration | Get the length of time for which a user account is locked out after the user makes too many bad password-answer attempts. |
|
PasswordAttemptWindow | Gets the time window during which consecutive failed attempts to provide a valid password or a valid password answer are tracked. (Overrides MembershipProvider.PasswordAttemptWindow.) |
|
PasswordFormat | Gets a value indicating the format of passwords in the Active Directory data store. (Overrides MembershipProvider.PasswordFormat.) |
|
PasswordStrengthRegularExpression | Gets the regular expression used to evaluate a password. (Overrides MembershipProvider.PasswordStrengthRegularExpression.) |
|
RequiresQuestionAndAnswer | Gets a value indicating whether the membership provider is configured to require a password question and answer when creating a user. (Overrides MembershipProvider.RequiresQuestionAndAnswer.) |
|
RequiresUniqueEmail | Gets a value indicating whether an e-mail address stored on the Active Directory server must be unique. (Overrides MembershipProvider.RequiresUniqueEmail.) |
| Name | Description | |
|---|---|---|
|
ValidatingPassword | Occurs when a user is created, a password is changed, or a password is reset. (Inherited from MembershipProvider.) |
Show: