ASP.NET MVC 3: How to get User's Role in a Controller Method?

后端 未结 3 923
醉梦人生
醉梦人生 2020-12-30 04:16

I want to be able to

  1. Get a list of roles of the current authenticated user.
  2. Filter the data provided to that user based on their role.

3条回答
提交回复
热议问题