how to manage multiple roles in asp.net
-
Hi all, I am using windows authentication in my web application. I use SqlRoleProvider for implementing role management. After the authentication is done the navigation menu is generated based on the SqlRoleProvider. The above Role management works fine if the user has a single role assigned to him. How to handle the role management if the user is mapped against multiple roles. for example : the role clerk has access to create screen and the role admin has access to approve screen If a user is assigned role as clerk and admin he should be able to view both the screens. how can I achieve this. Is there any way I can dynamically generate the navigation menu.
hi hi hi hi
-
Hi all, I am using windows authentication in my web application. I use SqlRoleProvider for implementing role management. After the authentication is done the navigation menu is generated based on the SqlRoleProvider. The above Role management works fine if the user has a single role assigned to him. How to handle the role management if the user is mapped against multiple roles. for example : the role clerk has access to create screen and the role admin has access to approve screen If a user is assigned role as clerk and admin he should be able to view both the screens. how can I achieve this. Is there any way I can dynamically generate the navigation menu.
hi hi hi hi
I've done this in the past, but I never use the MS generated drivel, it always seems to end with hitting a brick wall unless you start by deciding your app will look and feel the way they decided it should. Perhaps you need to write your own permissions system ? It's not difficult.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.