How to check if a User is in a single role? Using Identity in .NET Core 3.1

后端 未结 0 865
耶瑟儿~
耶瑟儿~ 2020-12-09 22:56

How do I check if the current user is in a single role?

In my app I can have an user with multiple roles, but, some roles like Role1, have specific behav

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