Click or drag to resize
KenticoUserStoreTUserGetRolesAsync Method (TUser)
Returns all role names for the given user.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task<IList<string>> GetRolesAsync(
	TUser user
)

Parameters

user
Type: TUser
User entity.

Return Value

Type: TaskIListString
List of role names.

Implements

IUserRoleStore.GetRolesAsync(UTP)
See Also