We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c1e3a commit 2e52559Copy full SHA for 2e52559
5-WebApp-AuthZ/5-1-Roles/README.md
@@ -275,7 +275,6 @@ public static IServiceCollection AddMicrosoftIdentityPlatformAuthentication(this
275
276
/*
277
// In code..(Controllers & elsewhere)
278
- [Authorize(Roles = DirectoryViewers")] // In controllers
279
[Authorize(Policy = DirectoryViewersOnly")] // In controllers
280
// or
281
User.IsInRole("UserReaders"); // In methods
0 commit comments