ApplicationRoleStoreTRoleSetNormalizedRoleNameAsync Method |
Set a role's normalized name as an asynchronous operation.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public Task SetNormalizedRoleNameAsync(
TRole role,
string normalizedName,
CancellationToken cancellationToken
)
Parameters
- role
- Type: TRole
The role whose normalized name should be set. - normalizedName
- Type: SystemString
The normalized name to set - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Return Value
Type:
Task
The
Task that represents the asynchronous operation.
Implements
IRoleStore.SetNormalizedRoleNameAsync(UTP, String, CancellationToken)See Also