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.
Asynchronously returns the roles for this user.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Function GetRolesAsync ( _
user As TUser _
) As Task(Of IList(Of String))
'Usage
Dim instance As IUserRoleStore
Dim user As TUser
Dim returnValue As Task(Of IList(Of String))
returnValue = instance.GetRolesAsync(user)
Task<IList<string>> GetRolesAsync(
TUser user
)
Task<IList<String^>^>^ GetRolesAsync(
TUser user
)
abstract GetRolesAsync :
user:'TUser -> Task<IList<string>>
function GetRolesAsync(
user : TUser
) : Task<IList<String>>
- user
Type: TUser
The user.
Type: System.Threading.Tasks.Task<IList<String>>
The task object representing the asynchronous operation.
IUserRoleStore<TUser, TKey> Interface