This documentation is archived and is not being maintained.
Membership Methods
Visual Studio 2008
The Membership type exposes the following members.
| Name | Description | |
|---|---|---|
|
CreateUser | Overloaded. Adds a new user to the data store. |
|
DeleteUser | Overloaded. Deletes a user from the database. |
|
FindUsersByEmail | Overloaded. Gets a collection of membership users where the e-mail address contains the specified e-mail address to match. |
|
FindUsersByName | Overloaded. Gets a collection of membership users where the user name contains the specified user name to match. |
|
GeneratePassword | Generates a random password of the specified length. |
|
GetAllUsers | Overloaded. Gets a collection of the users in the database. |
|
GetNumberOfUsersOnline | Gets the number of users currently accessing an application. |
|
GetUser | Overloaded. Gets the information for a membership user from the data source. |
|
GetUserNameByEmail | Gets a user name where the e-mail address for the user matches the specified e-mail address. |
|
UpdateUser | Updates the database with the information for the specified user. |
|
ValidateUser | Verifies that the supplied user name and password are valid. |
Show: