The foundation of the Membership API is the Membership class. The following are some of the most commonly used methods of the Membership class:
- CreateUser: Used to create a new user.
- GetUser: Gets the details of a particular user. Returns an instance of the MembershipUser (Sys-tem.Web.Security.MembershipUser) type.
- UpdateUser: Updates user details in the user credentials store. This method accepts an instance of the MembershipUser type.
- ValidateUser: Takes a user's credentials (username and password) and returns true if the credentials are valid, and false if they are not.
I highly recommend that you take the time to read the background material, Introduction to Membership, if have not previously done so.