IUserPhoneNumberStore<TUser, TKey>.SetPhoneNumberConfirmedAsync Method (TUser, Boolean)

 

Asynchronously sets whether the user phone number is confirmed.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

Task SetPhoneNumberConfirmedAsync(
    TUser user,
    bool confirmed
)
Task^ SetPhoneNumberConfirmedAsync(
    TUser user,
    bool confirmed
)
abstract SetPhoneNumberConfirmedAsync : 
        user:'TUser *
        confirmed:bool -> Task
Function SetPhoneNumberConfirmedAsync (
    user As TUser,
    confirmed As Boolean
) As Task

Parameters

  • user
    Type: TUser

    The user.

  • confirmed
    Type: System.Boolean

    true of the user phone number is confirmed; otherwise, false.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

See Also

IUserPhoneNumberStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top