ActiveDirectoryMembershipProvider Members
.NET Framework 3.0
Manages storage of membership information for an ASP.NET application in Active Directory and Active Directory Application Mode servers.
The following tables list the members exposed by the ActiveDirectoryMembershipProvider type.
| Name | Description | |
|---|---|---|
| ActiveDirectoryMembershipProvider | Creates a new instance of the ActiveDirectoryMembershipProvider class. |
| Name | Description | |
|---|---|---|
| ApplicationName | Overridden. The name of the application using the custom membership provider. |
| 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 | Overridden. Gets a value indicating whether the ActiveDirectoryMembershipProvider instance is configured to allow users to reset their passwords. |
| EnablePasswordRetrieval | Overridden. Gets a value indicating whether the user's password can be retrieved from the Active Directory data store. This property always returns false. |
| EnableSearchMethods | Gets a value indicating whether search-oriented ActiveDirectoryMembershipProvider methods are available. |
| MaxInvalidPasswordAttempts | Overridden. Gets the number of failed answer attempts a user is allowed for the password-reset question. |
| MinRequiredNonAlphanumericCharacters | Overridden. Gets the minimum number of special characters that must be present in a valid password. |
| MinRequiredPasswordLength | Overridden. Gets the minimum length required for a password. |
| 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 | Overridden. Gets the time window during which consecutive failed attempts to provide a valid password or a valid password answer are tracked. |
| PasswordFormat | Overridden. Gets a value indicating the format of passwords in the Active Directory data store. |
| PasswordStrengthRegularExpression | Overridden. Gets the regular expression used to evaluate a password. |
| RequiresQuestionAndAnswer | Overridden. Gets a value indicating whether the membership provider is configured to require a password question and answer when creating a user. |
| RequiresUniqueEmail | Overridden. Gets a value indicating whether an e-mail address stored on the Active Directory server must be unique. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ChangePassword | Overridden. Changes the password for the specified user. |
| ChangePasswordQuestionAndAnswer | Overridden. Updates the password question and answer for a user in the Active Directory store. |
| CreateUser | Overridden. Adds a new user to the Active Directory data store. |
| DeleteUser | Overridden. Removes a user's membership information from the Active Directory data store. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| FindUsersByEmail | Overridden. Returns a collection of membership users from the Active Directory data store based on the user's e-mail address. |
| FindUsersByName | Overridden. Returns a collection of users from the Active Directory data store based on the user name. |
| GeneratePassword | Generates a random password. |
| GetAllUsers | Overridden. Gets a collection of all the users stored in an Active Directory data source. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetNumberOfUsersOnline | Overridden. Throws a NotSupportedException exception in all cases. |
| GetPassword | Overridden. Returns the password of the specified user from the database. The ActiveDirectoryMembershipProvider class does not support this method. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| GetUser | Overloaded. Overridden. Gets the information from a membership user in the Active Directory data store. |
| GetUserNameByEmail | Overridden. Gets the user name associated with the specified e-mail address. |
| Initialize | Overridden. 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. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ResetPassword | Overridden. Resets a user's password to a new, automatically generated password. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| UnlockUser | Overridden. Clears a lock so that a membership user can be validated. |
| UpdateUser | Overridden. Updates information about a user in the Active Directory data store. |
| ValidateUser | Overridden. Verifies that the specified user name and password exist in the Active Directory data store. |
| Name | Description | |
|---|---|---|
| DecryptPassword | Decrypts an encrypted password. (inherited from MembershipProvider) |
| EncryptPassword | Encrypts a password. (inherited from MembershipProvider) |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| 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) |
| Name | Description | |
|---|---|---|
| ValidatingPassword | Occurs when a user is created, a password is changed, or a password is reset.(inherited from MembershipProvider) |
Reference
ActiveDirectoryMembershipProvider ClassSystem.Web.Security Namespace
Other Resources
Introduction to MembershipCommunity Additions
ADD
Show: