MembershipProvider Methods

MembershipProvider Methods


Namespace:   System.Web.Security
Assembly:  System.Web.ApplicationServices (in System.Web.ApplicationServices.dll)

System_CAPS_pubmethodChangePassword(String, String, String)

Processes a request to update the password for a membership user.

System_CAPS_pubmethodChangePasswordQuestionAndAnswer(String, String, String, String)

Processes a request to update the password question and answer for a membership user.

System_CAPS_pubmethodCreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus)

Adds a new membership user to the data source.


Decrypts an encrypted password.

System_CAPS_pubmethodDeleteUser(String, Boolean)

Removes a user from the membership data source.


Encrypts a password.

System_CAPS_protmethodEncryptPassword(Byte[], MembershipPasswordCompatibilityMode)

Encrypts the specified password using the specified password-compatibility mode.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindUsersByEmail(String, Int32, Int32, Int32)

Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.

System_CAPS_pubmethodFindUsersByName(String, Int32, Int32, Int32)

Gets a collection of membership users where the user name contains the specified user name to match.

System_CAPS_pubmethodGetAllUsers(Int32, Int32, Int32)

Gets a collection of all the users in the data source in pages of data.


Serves as the default hash function. (Inherited from Object.)


Gets the number of users currently accessing the application.

System_CAPS_pubmethodGetPassword(String, String)

Gets the password for the specified user name from the data source.


Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUser(Object, Boolean)

Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.

System_CAPS_pubmethodGetUser(String, Boolean)

Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.


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

System_CAPS_pubmethodInitialize(String, NameValueCollection)

Initializes the provider.(Inherited from ProviderBase.)


Creates a shallow copy of the current Object.(Inherited from Object.)


Raises the ValidatingPassword event if an event handler has been defined.

System_CAPS_pubmethodResetPassword(String, String)

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


Returns a string that represents the current object.(Inherited from Object.)


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


Updates information about a user in the data source.

System_CAPS_pubmethodValidateUser(String, String)

Verifies that the specified user name and password exist in the data source.

Return to top
© 2015 Microsoft