Membership Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateUser(String, String)

Adds a new user to the data store.

System_CAPS_pubmethodSystem_CAPS_staticCreateUser(String, String, String)

Adds a new user with a specified e-mail address to the data store.

System_CAPS_pubmethodSystem_CAPS_staticCreateUser(String, String, String, String, String, Boolean, MembershipCreateStatus)

Adds a new user with specified property values to the data store and returns a status parameter indicating that the user was successfully created or the reason the user creation failed.

System_CAPS_pubmethodSystem_CAPS_staticCreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus)

Adds a new user with specified property values and a unique identifier to the data store and returns a status parameter indicating that the user was successfully created or the reason the user creation failed.

System_CAPS_pubmethodSystem_CAPS_staticDeleteUser(String)

Deletes a user and any related user data from the database.

System_CAPS_pubmethodSystem_CAPS_staticDeleteUser(String, Boolean)

Deletes a user from the database.

System_CAPS_pubmethodSystem_CAPS_staticFindUsersByEmail(String)

Gets a collection of membership users where the e-mail address contains the specified e-mail address to match.

System_CAPS_pubmethodSystem_CAPS_staticFindUsersByEmail(String, Int32, Int32, Int32)

Gets a collection of membership users, in a page of data, where the e-mail address contains the specified e-mail address to match.

System_CAPS_pubmethodSystem_CAPS_staticFindUsersByName(String)

Gets a collection of membership users where the user name contains the specified user name to match.

System_CAPS_pubmethodSystem_CAPS_staticFindUsersByName(String, Int32, Int32, Int32)

Gets a collection of membership users, in a page of data, where the user name contains the specified user name to match.

System_CAPS_pubmethodSystem_CAPS_staticGeneratePassword(Int32, Int32)

Generates a random password of the specified length.

System_CAPS_pubmethodSystem_CAPS_staticGetAllUsers()

Gets a collection of all the users in the database.

System_CAPS_pubmethodSystem_CAPS_staticGetAllUsers(Int32, Int32, Int32)

Gets a collection of all the users in the database in pages of data.

System_CAPS_pubmethodSystem_CAPS_staticGetNumberOfUsersOnline()

Gets the number of users currently accessing an application.

System_CAPS_pubmethodSystem_CAPS_staticGetUser()

Gets the information from the data source and updates the last-activity date/time stamp for the current logged-on membership user.

System_CAPS_pubmethodSystem_CAPS_staticGetUser(Boolean)

Gets the information from the data source for the current logged-on membership user. Updates the last-activity date/time stamp for the current logged-on membership user, if specified.

System_CAPS_pubmethodSystem_CAPS_staticGetUser(Object)

Gets the information from the data source for the membership user associated with the specified unique identifier.

System_CAPS_pubmethodSystem_CAPS_staticGetUser(Object, Boolean)

Gets the information from the data source for the membership user associated with the specified unique identifier. Updates the last-activity date/time stamp for the user, if specified.

System_CAPS_pubmethodSystem_CAPS_staticGetUser(String)

Gets the information from the data source for the specified membership user.

System_CAPS_pubmethodSystem_CAPS_staticGetUser(String, Boolean)

Gets the information from the data source for the specified membership user. Updates the last-activity date/time stamp for the user, if specified.

System_CAPS_pubmethodSystem_CAPS_staticGetUserNameByEmail(String)

Gets a user name where the e-mail address for the user matches the specified e-mail address.

System_CAPS_pubmethodSystem_CAPS_staticUpdateUser(MembershipUser)

Updates the database with the information for the specified user.

System_CAPS_pubmethodSystem_CAPS_staticValidateUser(String, String)

Verifies that the supplied user name and password are valid.

Return to top
Show: