System.Web.Security.MembershipProvider: Method Members

The methods of System.Web.Security.MembershipProvider are listed below. For a list of all members, see the MembershipProvider Members list.

See Also: Inherited members from System.Configuration.Provider.ProviderBase

Public Methods

abstract
ChangePassword(string, string, string) : bool

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

abstract
ChangePasswordQuestionAndAnswer(string, string, string, string) : bool

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

abstract
CreateUser(string, string, string, string, string, bool, object, out MembershipCreateStatus) : MembershipUser
Documentation for this section has not yet been entered.
abstract
DeleteUser(string, bool) : bool

Removes a user from the membership data source.

abstract
FindUsersByEmail(string, int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
abstract
FindUsersByName(string, int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
abstract
GetAllUsers(int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
abstract
GetNumberOfUsersOnline() : int

Gets the number of users currently accessing the application.

abstract
GetPassword(string, string) : string

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

abstract
GetUser(object, bool) : MembershipUser

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.

abstract
GetUser(string, bool) : MembershipUser

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

abstract
GetUserNameByEmail(string) : string

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

abstract
ResetPassword(string, string) : string

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

abstract
UnlockUser(string) : bool

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

abstract
UpdateUser(MembershipUser)

Updates information about a user in the data source.

abstract
ValidateUser(string, string) : bool

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

Protected Methods

DecryptPassword(byte[]) : byte[]

Decrypts an encrypted password.

EncryptPassword(byte[]) : byte[]

Encrypts a password.

OnValidatingPassword(ValidatePasswordEventArgs)

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