Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Web.Security Namespace
Please Wait
Membership Class
Please Wait
Membership Methods
Please Wait
Switch on low bandwidth view
Collapse All
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.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
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement