Authorization and User roles
hey guys.. i have two forms and user can make adding, deleting, editing processes if he/she wants..but now i want that not everybody can do these things and can see the all buttons or other tools on the form..i want only the people who has administrator authorization can see that important points..the thing is i didnt do something like that before and i dont know where should i start..is there anyone who has small sample code for that or any other help will be appreciated
ShankeyPosted Nov 3, 2010, 1:44 PM
You can hide/show some of the functionality of your application by defining roles for your application. You should have a relationship between user and role. In short you have to assign some roles to the user. And based on that role value associated with the user you can show/hide your buttons/functionality etc....
Hope this will help you. Best luck
Erdinc KolukisaPosted Nov 4, 2010, 5:35 AM