Click or drag to resize
UserStoreGetRolesAsync Method
Returns all role names for the given user.

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

Parameters

user
Type: Kentico.MembershipUser
User entity.

Return Value

Type: TaskIListString
List of role names.

Implements

IUserRoleStore.GetRolesAsync(UTP)
See Also