SimpleMembershipProvider.ConfirmAccount SimpleMembershipProvider.ConfirmAccount SimpleMembershipProvider.ConfirmAccount Method

Definition

Overloads

ConfirmAccount(String) ConfirmAccount(String) ConfirmAccount(String)

Activates a pending membership account.

ConfirmAccount(String, String) ConfirmAccount(String, String) ConfirmAccount(String, String)

Indicates whether the user account is confirmed.

ConfirmAccount(String) ConfirmAccount(String) ConfirmAccount(String)

Activates a pending membership account.

public override bool ConfirmAccount (string accountConfirmationToken);
override this.ConfirmAccount : string -> bool
Public Overrides Function ConfirmAccount (accountConfirmationToken As String) As Boolean
Parameters
accountConfirmationToken
String String String

A confirmation token to pass to the authentication provider.

Returns

true if the user account is confirmed; otherwise, false.

Exceptions

ConfirmAccount(String, String) ConfirmAccount(String, String) ConfirmAccount(String, String)

Indicates whether the user account is confirmed.

public override bool ConfirmAccount (string userName, string accountConfirmationToken);
override this.ConfirmAccount : string * string -> bool
Public Overrides Function ConfirmAccount (userName As String, accountConfirmationToken As String) As Boolean
Parameters
userName
String String String

The username.

accountConfirmationToken
String String String

The account confirmation.

Returns

true if the user account is confirmed; otherwise, false.

Applies to