ExtendedMembershipProvider.CreateAccount Method (String, String, Boolean)

When overridden in a derived class, creates a new user account using the specified user name and password, optionally requiring that the new account must be confirmed before the account is available for use.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public abstract function CreateAccount(
	userName : String, 
	password : String, 
	requireConfirmationToken : boolean
) : String


Type: System.String
The user name.
Type: System.String
The password.
Type: System.Boolean
(Optional) true to specify that the account must be confirmed; otherwise, false. The default is false.

Return Value

Type: System.String
A token that can be sent to the user to confirm the account.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.