KenticoUserStoreTUserGetRolesAsync Method (TUser) |
Returns all role names for the given user.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public Task<IList<string>> GetRolesAsync(
TUser user
)
Parameters
- user
- Type: TUser
User entity.
Return Value
Type:
TaskIListStringList of role names.
Implements
IUserRoleStore.GetRolesAsync(UTP)See Also