Export (0) Print
Expand All

Membership Methods

The Membership type exposes the following members.

  NameDescription
Public method Static member CreateUser Overloaded. Adds a new user to the data store.
Public method Static member DeleteUser Overloaded. Deletes a user from the database.
Public method Static member FindUsersByEmail Overloaded. Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.
Public method Static member FindUsersByName Overloaded. Gets a collection of membership users where the user name contains the specified user name to match.
Public method Static member GeneratePassword Generates a random password of the specified length.
Public method Static member GetAllUsers Overloaded. Gets a collection of the users in the database.
Public method Static member GetNumberOfUsersOnline Gets the number of users currently accessing an application.
Public method Static member GetUser Overloaded. Gets the information for a membership user from the data source.
Public method Static member GetUserNameByEmail Gets a user name where the e-mail address for the user matches the specified e-mail address.
Public method Static member UpdateUser Updates the database with the information for the specified user.
Public method Static member ValidateUser Verifies that the supplied user name and password are valid.
Top

Community Additions

ADD
Show:
© 2014 Microsoft