1 implementation of AddToRoleAsync
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
1047
public abstract Task
AddToRoleAsync
(TUser user, string normalizedRoleName, CancellationToken cancellationToken = default(CancellationToken));
2 references to AddToRoleAsync
Microsoft.Extensions.Identity.Core (2)
UserManager.cs (2)
1334
await userRoleStore.
AddToRoleAsync
(user, normalizedRole, CancellationToken).ConfigureAwait(false);
1377
await userRoleStore.
AddToRoleAsync
(user, normalizedRole, CancellationToken).ConfigureAwait(false);