SqlMembershipProvider Members
.NET Framework 3.0
Manages storage of membership information for an ASP.NET application in a SQL Server database.
The following tables list the members exposed by the SqlMembershipProvider type.
| Name | Description | |
|---|---|---|
| SqlMembershipProvider | Initializes a new instance of the SqlMembershipProvider class. |
| Name | Description | |
|---|---|---|
| ApplicationName | Overridden. Gets or sets the name of the application to store and retrieve membership information for. |
| 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 SQL Server membership provider is configured to allow users to reset their passwords. |
| EnablePasswordRetrieval | Overridden. Gets a value indicating whether the SQL Server membership provider is configured to allow users to retrieve their passwords. |
| MaxInvalidPasswordAttempts | Overridden. Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out. |
| 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) |
| PasswordAttemptWindow | Overridden. Gets the time window between which consecutive failed attempts to provide a valid password or password answers are tracked. |
| PasswordFormat | Overridden. Gets a value indicating the format for storing passwords in the SQL Server membership database. |
| PasswordStrengthRegularExpression | Overridden. Gets the regular expression used to evaluate a password. |
| RequiresQuestionAndAnswer | Overridden. 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. |
| RequiresUniqueEmail | Overridden. Gets a value indicating whether the SQL Server membership provider is configured to require a unique e-mail address for each user name. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| ChangePassword | Overridden. Modifies a user's password. |
| ChangePasswordQuestionAndAnswer | Overridden. Updates the password question and answer for a user in the SQL Server membership database. |
| CreateUser | Overridden. Adds a new user to the SQL Server membership database. |
| DeleteUser | Overridden. Removes a user's membership information from the SQL Server membership database. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| FindUsersByEmail | Overridden. Returns a collection of membership users for which the e-mail address field contains the specified e-mail address. |
| FindUsersByName | Overridden. Gets a collection of membership users where the user name contains the specified user name to match. |
| GeneratePassword | Generates a random password that is at least 14 characters long. |
| GetAllUsers | Overridden. Gets a collection of all the users in the SQL Server membership database. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetNumberOfUsersOnline | Overridden. Returns the number of users currently accessing the application. |
| GetPassword | Overridden. Returns the password for the specified user name from the SQL Server membership database. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| GetUser | Overloaded. Overridden. Gets the information for a membership user from the data source. |
| GetUserNameByEmail | Overridden. Gets the user name associated with the specified e-mail address. |
| Initialize | Overridden. 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. |
| 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 the user's locked-out status so that the membership user can be validated. |
| UpdateUser | Overridden. Updates information about a user in the SQL Server membership database. |
| ValidateUser | Overridden. Verifies that the specified user name and password exist in the SQL Server membership database. |
| 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
SqlMembershipProvider ClassSystem.Web.Security Namespace
Other Resources
Introduction to MembershipCommunity Additions
ADD
Show: