System.Web.Security.Membership: Method Members

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

See Also: Inherited members from System.Object

Public Methods

static
CreateUser(string, string) : MembershipUser

Adds a new user to the data store.

static
CreateUser(string, string, string) : MembershipUser

Adds a new user with a specified e-mail address to the data store.

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

Deletes a user and any related user data from the database.

static
DeleteUser(string, bool) : bool

Deletes a user from the database.

static
FindUsersByEmail(string) : MembershipUserCollection

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

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

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

static
FindUsersByName(string, int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
static
GeneratePassword(int, int) : string

Generates a random password of the specified length.

static
GetAllUsers() : MembershipUserCollection

Gets a collection of all the users in the database.

static
GetAllUsers(int, int, out int) : MembershipUserCollection
Documentation for this section has not yet been entered.
static
GetNumberOfUsersOnline() : int

Gets the number of users currently accessing an application.

static
GetUser() : MembershipUser

Gets the information from the data source and updates the last-activity date/time stamp for the current logged-on membership user.

static
GetUser(bool) : MembershipUser

Gets the information from the data source for the current logged-on membership user. Updates the last-activity date/time stamp for the current logged-on membership user, if specified.

static
GetUser(object) : MembershipUser

Gets the information from the data source for the membership user associated with the specified unique identifier.

static
GetUser(string) : MembershipUser

Gets the information from the data source for the specified membership user.

static
GetUser(object, bool) : MembershipUser

Gets the information from the data source for the membership user associated with the specified unique identifier. Updates the last-activity date/time stamp for the user, if specified.

static
GetUser(string, bool) : MembershipUser

Gets the information from the data source for the specified membership user. Updates the last-activity date/time stamp for the user, if specified.

static
GetUserNameByEmail(string) : string

Gets a user name where the e-mail address for the user matches the specified e-mail address.

static
UpdateUser(MembershipUser)

Updates the database with the information for the specified user.

static
ValidateUser(string, string) : bool

Verifies that the supplied user name and password are valid.