Custom Form-Based Authentication in ASP.NET
page 2 of 7
by Steven Swafford
Feedback
Average Rating: 
Views (Total / Last 10 Days): 34483/ 41

Membership API

The foundation of the Membership API is the Membership class. The following are some of the most commonly used methods of the Membership class:

  1. CreateUser: Used to create a new user.
  2. GetUser: Gets the details of a particular user. Returns an instance of the MembershipUser (Sys-tem.Web.Security.MembershipUser) type.
  3. UpdateUser: Updates user details in the user credentials store. This method accepts an instance of the MembershipUser type.
  4. 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.


View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-18 8:15:45 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search