UserManager<TUser, TKey>.IsPhoneNumberConfirmedAsync Method
Determines whether the user phone number has been confirmed.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Public Overridable Function IsPhoneNumberConfirmedAsync ( _
userId As TKey _
) As Task(Of Boolean)
'Usage
Dim instance As UserManager
Dim userId As TKey
Dim returnValue As Task(Of Boolean)
returnValue = instance.IsPhoneNumberConfirmedAsync(userId)
public virtual Task<bool> IsPhoneNumberConfirmedAsync(
TKey userId
)
public:
virtual Task<bool>^ IsPhoneNumberConfirmedAsync(
TKey userId
)
abstract IsPhoneNumberConfirmedAsync :
userId:'TKey -> Task<bool>
override IsPhoneNumberConfirmedAsync :
userId:'TKey -> Task<bool>
public function IsPhoneNumberConfirmedAsync(
userId : TKey
) : Task<boolean>
Parameters
- userId
Type: TKey
The user ID.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
The task representing the asynchronous operation.
See Also
Reference
UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace