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
Just wrap your links in:
@if (User.IsInRole("SomeRole")) { ... }