How to get all users in Role (Microsoft ASP.NET Identity EntityFramework 2.0.0-beta1)?

前端 未结 3 1309
我在风中等你
我在风中等你 2020-12-09 20:57

I just updated to ASP.NET Identity EntityFramework 2.0.0-beta1 and got a compilation errors for my Roles classes. Maybe somebody can give me some clue how to get all users f

3条回答
  •  囚心锁ツ
    2020-12-09 21:24

    Its only exposed on the EF implementation layer so:

    roleManager.FindByName("Admins").Users
    

提交回复
热议问题