System.Web.Security.ActiveDirectoryMembershipProvider Members

The members of System.Web.Security.ActiveDirectoryMembershipProvider are listed below.

See Also: Inherited members from System.Web.Security.MembershipProvider

Public Constructors

Public Properties

override
ApplicationNamestring.

The name of the application using the custom membership provider.

[read-only]
CurrentConnectionProtectionActiveDirectoryConnectionProtection.

Gets the current level of security being used to protect communications with the server.

[read-only]
override
EnablePasswordResetbool.

Gets a value indicating whether the System.Web.Security.ActiveDirectoryMembershipProvider instance is configured to allow users to reset their passwords.

[read-only]
override
EnablePasswordRetrievalbool.

Gets a value indicating whether the user's password can be retrieved from the Active Directory data store. This property always returns false.

[read-only]
EnableSearchMethodsbool.

Gets a value indicating whether search-oriented System.Web.Security.ActiveDirectoryMembershipProvider methods are available.

[read-only]
override
MaxInvalidPasswordAttemptsint.

Gets the number of failed answer attempts a user is allowed for the password-reset question.

[read-only]
override
MinRequiredNonAlphanumericCharactersint.

Gets the minimum number of special characters that must be present in a valid password.

[read-only]
override
MinRequiredPasswordLengthint.

Gets the minimum length required for a password.

[read-only]
PasswordAnswerAttemptLockoutDurationint.

Get the length of time for which a user account is locked out after the user makes too many bad password-answer attempts.

[read-only]
override
PasswordAttemptWindowint.

Gets the time window during which consecutive failed attempts to provide a valid password or a valid password answer are tracked.

[read-only]
override
PasswordFormatMembershipPasswordFormat.

Gets a value indicating the format of passwords in the Active Directory data store.

[read-only]
override
PasswordStrengthRegularExpressionstring.

Gets the regular expression used to evaluate a password.

[read-only]
override
RequiresQuestionAndAnswerbool.

Gets a value indicating whether the membership provider is configured to require a password question and answer when creating a user.

[read-only]
override
RequiresUniqueEmailbool.

Gets a value indicating whether an e-mail address stored on the Active Directory server must be unique.

Public Methods

override
ChangePassword(string, string, string) : bool

Changes the password for the specified user.

override
ChangePasswordQuestionAndAnswer(string, string, string, string) : bool

Updates the password question and answer for a user in the Active Directory store.

override
CreateUser(string, string, string, string, string, bool, object, out MembershipCreateStatus) : MembershipUser
Documentation for this section has not yet been entered.
override
DeleteUser(string, bool) : bool

Removes a user's membership information from the Active Directory data store.

override
FindUsersByEmail(string, int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
override
FindUsersByName(string, int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
GeneratePassword() : string

Generates a random password.

override
GetAllUsers(int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
override
GetNumberOfUsersOnline() : int

Throws a NotSupportedException exception in all cases.

override
GetPassword(string, string) : string

Returns the password of the specified user from the database. The System.Web.Security.ActiveDirectoryMembershipProvider class does not support this method.

override
GetUser(object, bool) : MembershipUser

Gets the membership user information associated with the specified user key.

override
GetUser(string, bool) : MembershipUser

Gets the membership user information associated with the specified user name.

override
GetUserNameByEmail(string) : string

Gets the user name associated with the specified e-mail address.

override
Initialize(string, System.Collections.Specialized.NameValueCollection)

Initializes the System.Web.Security.ActiveDirectoryMembershipProvider instance with the property values from the application's configuration files. This method is not intended to be called from your code.

override
ResetPassword(string, string) : string

Resets a user's password to a new, automatically generated password.

override
UnlockUser(string) : bool

Clears a lock so that a membership user can be validated.

override
UpdateUser(MembershipUser)

Updates information about a user in the Active Directory data store.

override
ValidateUser(string, string) : bool

Verifies that the specified user name and password exist in the Active Directory data store.