3 references to UserAlreadyInRole
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
508
IdentityResultAssert.IsFailure(await userMgr.AddToRoleAsync(user, roleName), _errorDescriber.
UserAlreadyInRole
(roleName));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
432
IdentityResultAssert.IsFailure(result, new IdentityErrorDescriber().
UserAlreadyInRole
("B"));
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
1173
return IdentityResult.Failed(ErrorDescriber.
UserAlreadyInRole
(role));