Click or drag to resize
ApplicationRoleStoreTRoleFindByNameAsync Method
Finds the role who has the specified normalized name as an asynchronous operation.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public Task<TRole> FindByNameAsync(
	string normalizedRoleName,
	CancellationToken cancellationToken
)

Parameters

normalizedRoleName
Type: SystemString
The normalized role name to look for.
cancellationToken
Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.

Return Value

Type: TaskTRole
A TaskTResult that result of the look up.

Implements

IRoleStore.FindByNameAsync(String, CancellationToken)
See Also