Export (0) Print
Expand All

MembershipProvider Methods

The MembershipProvider type exposes the following members.

  Name Description
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(Byte[]) Encrypts a password.
Protected method EncryptPassword(Byte[], MembershipPasswordCompatibilityMode) Encrypts the specified password using the specified password-compatibility mode.
Public method Equals(Object) 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 the default hash function. (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(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.
Public method GetUser(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.
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
Show:
© 2014 Microsoft