ExtendedMembershipProvider.ConfirmAccount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConfirmAccount(String) |
Activates a pending membership account. |
ConfirmAccount(String, String) |
Activates a pending membership account for the specified user. |
ConfirmAccount(String)
Activates a pending membership account.
public abstract bool ConfirmAccount (string accountConfirmationToken);
abstract member ConfirmAccount : string -> bool
Public MustOverride Function ConfirmAccount (accountConfirmationToken As String) As Boolean
Parameters
- accountConfirmationToken
- String
A confirmation token to pass to the authentication provider.
Returns
true if the account is confirmed; otherwise, false.
Applies to
ConfirmAccount(String, String)
Activates a pending membership account for the specified user.
public abstract bool ConfirmAccount (string userName, string accountConfirmationToken);
abstract member ConfirmAccount : string * string -> bool
Public MustOverride Function ConfirmAccount (userName As String, accountConfirmationToken As String) As Boolean
Parameters
- userName
- String
The user name.
- accountConfirmationToken
- String
A confirmation token to pass to the authentication provider.
Returns
true if the account is confirmed; otherwise, false.