How to get the [Authorize(Roles = “RoleName”)] into variable?

前端 未结 0 1523
灰色年华
灰色年华 2020-12-14 16:17

i am trying to save the role from the AuthorizeAttribute in a variable but i cant seem to figure out how. i want something like this. Note: the User/Roles is created from Az

相关标签:
回答
  • 消灭零回复
提交回复
热议问题