Membership Methods
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Web.Security Namespace
Membership Class
Membership Methods
CreateUser Method
DeleteUser Method
FindUsersByEmail Method
FindUsersByName Method
GeneratePassword Method
GetAllUsers Method
GetNumberOfUsersOnline Method
GetUser Method
GetUserNameByEmail Method
UpdateUser Method
ValidateUser Method
Membership Class
Membership Members
Membership Methods
Membership Properties
Membership Events
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
Membership Methods
The
Membership
type exposes the following members.
Methods
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.
Top
See Also
Reference
Membership Class
System.Web.Security Namespace
Tags :