Using the Membership Application Programming Interface
The main application programming interface for ASP.NET Membership is the Membership
class. This class supports the following methods:
• CreateUser
—
Enables you to create a new user.
• DeleteUser
—
Enables you to delete an existing user.
• FindUsersByEmail
—
Enables you to retrieve all users who have a particular email address.
• FindUsersByName
—
Enables you to retrieve all users who have a particular username.
• GeneratePassword
—
Enables you to generate a random password.
• GetAllUsers
—
Enables you to retrieve all users.
• GetNumberOfUsersOnline
—
Enables you to retrieve a count of all users online.
• GetUser
—
Enables you to retrieve a user by username.
• GetUserNameByEmail
—
Enables you to ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.