ExtendedMembershipProvider.CreateUserAndAccount ExtendedMembershipProvider.CreateUserAndAccount ExtendedMembershipProvider.CreateUserAndAccount Method

Definition

Overloads

CreateUserAndAccount(String, String) CreateUserAndAccount(String, String) CreateUserAndAccount(String, String)

Creates a new user profile and a new membership account.

CreateUserAndAccount(String, String, Boolean) CreateUserAndAccount(String, String, Boolean) CreateUserAndAccount(String, String, Boolean)

Creates a new user profile and a new membership account.

CreateUserAndAccount(String, String, IDictionary<String,Object>) CreateUserAndAccount(String, String, IDictionary<String,Object>) CreateUserAndAccount(String, String, IDictionary<String,Object>)

When overridden in a derived class, creates a new user profile and a new membership account.

CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>) CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>) CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>)

When overridden in a derived class, creates a new user profile and a new membership account.

CreateUserAndAccount(String, String) CreateUserAndAccount(String, String) CreateUserAndAccount(String, String)

Creates a new user profile and a new membership account.

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

The user name.

password
String String String

The password.

Returns

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

CreateUserAndAccount(String, String, Boolean) CreateUserAndAccount(String, String, Boolean) CreateUserAndAccount(String, String, Boolean)

Creates a new user profile and a new membership account.

public virtual string CreateUserAndAccount (string userName, string password, bool requireConfirmation);
abstract member CreateUserAndAccount : string * string * bool -> string
override this.CreateUserAndAccount : string * string * bool -> string
Public Overridable Function CreateUserAndAccount (userName As String, password As String, requireConfirmation As Boolean) As String
Parameters
userName
String String String

The user name.

password
String String String

The password.

requireConfirmation
Boolean Boolean Boolean

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

Returns

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

CreateUserAndAccount(String, String, IDictionary<String,Object>) CreateUserAndAccount(String, String, IDictionary<String,Object>) CreateUserAndAccount(String, String, IDictionary<String,Object>)

When overridden in a derived class, creates a new user profile and a new membership account.

public virtual string CreateUserAndAccount (string userName, string password, System.Collections.Generic.IDictionary<string,object> values);
abstract member CreateUserAndAccount : string * string * System.Collections.Generic.IDictionary<string, obj> -> string
override this.CreateUserAndAccount : string * string * System.Collections.Generic.IDictionary<string, obj> -> string
Public Overridable Function CreateUserAndAccount (userName As String, password As String, values As IDictionary(Of String, Object)) As String
Parameters
userName
String String String

The user name.

password
String String String

The password.

values
IDictionary<String,Object>

(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is null.

Returns

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

CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>) CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>) CreateUserAndAccount(String, String, Boolean, IDictionary<String,Object>)

When overridden in a derived class, creates a new user profile and a new membership account.

public abstract string CreateUserAndAccount (string userName, string password, bool requireConfirmation, System.Collections.Generic.IDictionary<string,object> values);
abstract member CreateUserAndAccount : string * string * bool * System.Collections.Generic.IDictionary<string, obj> -> string
Public MustOverride Function CreateUserAndAccount (userName As String, password As String, requireConfirmation As Boolean, values As IDictionary(Of String, Object)) As String
Parameters
userName
String String String

The user name.

password
String String String

The password.

requireConfirmation
Boolean Boolean Boolean

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

values
IDictionary<String,Object>

(Optional) A dictionary that contains additional user attributes to store in the user profile. The default is null.

Returns

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

Applies to