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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -