ASP.NET Identity check user roles is not working

前端 未结 3 660
慢半拍i
慢半拍i 2020-12-03 17:13

I have an ASP.NET MVC 5 application. I\'m using the standard ASP.NET Identity provider for user and role management. It is important that I\'m using the IdentityUser from an

3条回答
  •  执念已碎
    2020-12-03 17:33

    Do you have this entry in your web.config?

        
            
                
                
            
        
    

    Also, if I remember correctly, there is a different namespace for the role provider assembly in different versions of .NET.

提交回复
热议问题