I have correctly implemented authentication on an MVC application I have been working on and would like some suggestions on the possibilty of showing different master layout pages for the different user roles.
My system currently has (and will probably always have) 3 user roles:
1. Administrator
2. Superior
3. General
What I would like to do is create 3 user layouts based on their role (after first being pointed to a login page) so _layout_admin.vbhtml etc
Does anyone know how this can be achieved? I have searched all over and know I can limit controllers but want to redirect them first to their correct user layout.
In your
~/Views/ViewStart.cshtml: