3 references to UserNotInRole
Microsoft.AspNetCore.Identity.Specification.Tests (1)
IdentitySpecificationTestBase.cs (1)
487
IdentityResultAssert.IsFailure(result, _errorDescriber.
UserNotInRole
(roleName));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
496
IdentityResultAssert.IsFailure(result, new IdentityErrorDescriber().
UserNotInRole
("B"));
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
1182
return IdentityResult.Failed(ErrorDescriber.
UserNotInRole
(role));