Razor page not picking up user roles

前端 未结 0 1939
南方客
南方客 2021-01-17 19:25

I have created a role on my app startup using the following code:

if (!roleManager.RoleExists("Subscribed"))
{
   var role = new Microsoft.AspNet.Id         


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