ExtendedMembershipProvider.CreateAccount Method

Definition

Overloads

CreateAccount(String, String)

Creates a new user account using the specified user name and password.

CreateAccount(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.

CreateAccount(String, String)

Creates a new user account using the specified user name and password.

public virtual string CreateAccount (string userName, string password);
abstract member CreateAccount : string * string -> string
override this.CreateAccount : string * string -> string
Public Overridable Function CreateAccount (userName As String, password As String) As String

Parameters

userName
String

The user name.

password
String

The password.

Returns

A token that can be sent to the user to confirm the account.

Applies to

CreateAccount(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.

public abstract string CreateAccount (string userName, string password, bool requireConfirmationToken);
abstract member CreateAccount : string * string * bool -> string
Public MustOverride Function CreateAccount (userName As String, password As String, requireConfirmationToken As Boolean) As String

Parameters

userName
String

The user name.

password
String

The password.

requireConfirmationToken
Boolean

(Optional) true to specify that the account must be confirmed; otherwise, false. The default is false.

Returns

A token that can be sent to the user to confirm the account.

Applies to