Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a user phone number.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Public Overridable Function GetPhoneNumberAsync ( _
userId As TKey _
) As Task(Of String)
'Usage
Dim instance As UserManager
Dim userId As TKey
Dim returnValue As Task(Of String)
returnValue = instance.GetPhoneNumberAsync(userId)
public virtual Task<string> GetPhoneNumberAsync(
TKey userId
)
public:
virtual Task<String^>^ GetPhoneNumberAsync(
TKey userId
)
abstract GetPhoneNumberAsync :
userId:'TKey -> Task<string>
override GetPhoneNumberAsync :
userId:'TKey -> Task<string>
public function GetPhoneNumberAsync(
userId : TKey
) : Task<String>
- userId
Type: TKey
The user ID.
Type: System.Threading.Tasks.Task<String>
The task representing the asynchronous operation.
UserManager<TUser, TKey> Class