System.Web.Security.SqlMembershipProvider Members

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

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

Public Constructors

Initializes a new instance of the System.Web.Security.SqlMembershipProvider class.

Public Properties

override
ApplicationNamestring.

Gets or sets the name of the application to store and retrieve membership information for.

[read-only]
override
EnablePasswordResetbool.

Gets a value indicating whether the SQL Server membership provider is configured to allow users to reset their passwords.

[read-only]
override
EnablePasswordRetrievalbool.

Gets a value indicating whether the SQL Server membership provider is configured to allow users to retrieve their passwords.

[read-only]
override
MaxInvalidPasswordAttemptsint.

Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.

[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]
override
PasswordAttemptWindowint.

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

[read-only]
override
PasswordFormatMembershipPasswordFormat.

Gets a value indicating the format for storing passwords in the SQL Server membership database.

[read-only]
override
PasswordStrengthRegularExpressionstring.

Gets the regular expression used to evaluate a password.

[read-only]
override
RequiresQuestionAndAnswerbool.

Gets a value indicating whether the SQL Server membership provider is configured to require the user to answer a password question for password reset and retrieval.

[read-only]
override
RequiresUniqueEmailbool.

Gets a value indicating whether the SQL Server membership provider is configured to require a unique e-mail address for each user name.

Public Methods

override
ChangePassword(string, string, string) : bool

Modifies a user's password.

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

Updates the password question and answer for a user in the SQL Server membership database.

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 SQL Server membership database.

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 that is at least 14 characters long.

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

Returns the number of users currently accessing the application.

override
GetPassword(string, string) : string

Returns the password for the specified user name from the SQL Server membership database.

override
GetUser(object, bool) : MembershipUser

Gets the information from the data source for the membership user associated with the specified unique identifier and updates the last activity date/time stamp for the user, if specified.

override
GetUser(string, bool) : MembershipUser

Returns information from the SQL Server membership database for a user and provides an option to update the last activity date/time stamp for the user.

override
GetUserNameByEmail(string) : string

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

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

Initializes the SQL Server membership provider with the property values specified in the ASP.NET application's configuration file. This method is not intended to be used directly from your code.

override
ResetPassword(string, string) : string

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

override
UnlockUser(string) : bool

Clears the user's locked-out status so that the membership user can be validated.

override
UpdateUser(MembershipUser)

Updates information about a user in the SQL Server membership database.

override
ValidateUser(string, string) : bool

Verifies that the specified user name and password exist in the SQL Server membership database.