SimpleMembershipProvider.ConfirmAccount Method

Definition

Overloads

ConfirmAccount(String)

Activates a pending membership account.

ConfirmAccount(String, String)

Indicates whether the user account is confirmed.

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

A confirmation token to pass to the authentication provider.

Returns

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

Exceptions

The SimpleMembershipProvider class was not initialized using a call to the InitializeDatabaseConnection method.

Applies to

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

The username.

accountConfirmationToken
String

The account confirmation.

Returns

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

Applies to