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:
virtual String^ CreateAccount(
	String^ userName, 
	String^ password, 
	bool requireConfirmationToken
) abstract

Parameters

userName
Type: System::String
The user name.
password
Type: System::String
The password.
requireConfirmationToken
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.
Show: