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