Share via


ExtendedMembershipProvider.ConfirmAccount Method (String)

Activates a pending membership account.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Syntax

'Declaration
Public MustOverride Function ConfirmAccount ( _
    accountConfirmationToken As String _
) As Boolean
'Usage
Dim instance As ExtendedMembershipProvider 
Dim accountConfirmationToken As String 
Dim returnValue As Boolean 

returnValue = instance.ConfirmAccount(accountConfirmationToken)
public abstract bool ConfirmAccount(
    string accountConfirmationToken
)
public:
virtual bool ConfirmAccount(
    String^ accountConfirmationToken
) abstract
abstract ConfirmAccount : 
        accountConfirmationToken:string -> bool
public abstract function ConfirmAccount(
    accountConfirmationToken : String
) : boolean

Parameters

  • accountConfirmationToken
    Type: System.String
    A confirmation token to pass to the authentication provider.

Return Value

Type: System.Boolean
true if the account is confirmed; otherwise, false.

See Also

Reference

ExtendedMembershipProvider Class

ConfirmAccount Overload

WebMatrix.WebData Namespace