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 e-mail.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Public Overridable Function GetEmailAsync ( _
userId As TKey _
) As Task(Of String)
'Usage
Dim instance As UserManager
Dim userId As TKey
Dim returnValue As Task(Of String)
returnValue = instance.GetEmailAsync(userId)
public virtual Task<string> GetEmailAsync(
TKey userId
)
public:
virtual Task<String^>^ GetEmailAsync(
TKey userId
)
abstract GetEmailAsync :
userId:'TKey -> Task<string>
override GetEmailAsync :
userId:'TKey -> Task<string>
public function GetEmailAsync(
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