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


i'm using asp.net mvc 5 built in authentication methods. show , hide links (in menu navbar) based on role user in.

has acheived this?

where starting point?

just wrap links in:

@if (user.isinrole("somerole")) {     ... } 

Comments