Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MembershipProvider Members

Defines the contract that ASP.NET implements to provide membership services using custom membership providers.

The MembershipProvider type exposes the following members.

  NameDescription
Protected method MembershipProvider Initializes a new instance of the MembershipProvider class.
Top

  NameDescription
Public method ChangePassword Processes a request to update the password for a membership user.
Public method ChangePasswordQuestionAndAnswer Processes a request to update the password question and answer for a membership user.
Public method CreateUser Adds a new membership user to the data source.
Protected method DecryptPassword Decrypts an encrypted password.
Public method DeleteUser Removes a user from the membership data source.
Protected method EncryptPassword Encrypts a password.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindUsersByEmail Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
Public method FindUsersByName Gets a collection of membership users where the user name contains the specified user name to match.
Public method GetAllUsers Gets a collection of all the users in the data source in pages of data.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNumberOfUsersOnline Gets the number of users currently accessing the application.
Public method GetPassword Gets the password for the specified user name from the data source.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetUser Overloaded. Gets information from the data source for a membership user.
Public method GetUserNameByEmail Gets the user name associated with the specified e-mail address.
Public method Initialize Initializes the provider. (Inherited from ProviderBase.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValidatingPassword Raises the ValidatingPassword event if an event handler has been defined.
Public method ResetPassword Resets a user's password to a new, automatically generated password.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnlockUser Clears a lock so that the membership user can be validated.
Public method UpdateUser Updates information about a user in the data source.
Public method ValidateUser Verifies that the specified user name and password exist in the data source.
Top

  NameDescription
Public property ApplicationName The name of the application using the custom membership provider.
Public property Description Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.)
Public property EnablePasswordReset Indicates whether the membership provider is configured to allow users to reset their passwords.
Public property EnablePasswordRetrieval Indicates whether the membership provider is configured to allow users to retrieve their passwords.
Public property MaxInvalidPasswordAttempts Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
Public property MinRequiredNonAlphanumericCharacters Gets the minimum number of special characters that must be present in a valid password.
Public property MinRequiredPasswordLength Gets the minimum length required for a password.
Public property Name Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.)
Public property PasswordAttemptWindow Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
Public property PasswordFormat Gets a value indicating the format for storing passwords in the membership data store.
Public property PasswordStrengthRegularExpression Gets the regular expression used to evaluate a password.
Public property RequiresQuestionAndAnswer Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.
Public property RequiresUniqueEmail Gets a value indicating whether the membership provider is configured to require a unique e-mail address for each user name.
Top

  NameDescription
Public event ValidatingPassword Occurs when a user is created, a password is changed, or a password is reset.
Top

Community Additions

ADD
Show:
© 2015 Microsoft