Friday, January 19, 2018

How to show links in a layout partial based on user role

I have a .net 4.6 app that is using active directory but atm everyone has full access to all routes. What is the best way to lock certain routes behind user roles and how do I only show links in the default layout based on user role? Thanks.

How to show links in a layout partial based on user role Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team