Skip to content

Commit 43f5283

Browse files
authored
Merge pull request #184873 from amanmcse/patch-32
(AzureCXP) fixes MicrosoftDocs/azure-docs#86281
2 parents 41d5a7d + d4a8025 commit 43f5283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/active-directory/develop/scenario-protected-web-api-verification-scope-app-roles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ public class TodoListController : ApiController
277277
}
278278
```
279279

280-
Instead, you can use the [Authorize("role")] attributes on the controller or an action (or a razor page).
280+
Instead, you can use the [Authorize(Roles = "role")] attributes on the controller or an action (or a razor page).
281281

282282
```CSharp
283-
[Authorize("role")]
283+
[Authorize(Roles = "role")]
284284
MyController : ApiController
285285
{
286286
// ...

0 commit comments

Comments
 (0)