ASP.NET MVC 5 Customise Bootstrap navbar based on User Role

前端 未结 3 1936
耶瑟儿~
耶瑟儿~ 2021-02-19 20:44

I\'m using the ASP.NET MVC 5 built in authentication methods. I would like to show and hide links (in the menu navbar) based on the role the user is in.

Has anyone ache

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