Hai ,
In my project how can I set privilege for both user and admin.
I want to enabled the delete and update button for the user login.
and admin can access all the button in that form.
How can I set this in my c# windows application.
Please anybody help this problem.

Raja TPosted Sep 4, 2015, 7:41 AM
Pavithra LPosted Sep 4, 2015, 4:51 AM
Raja TPosted Sep 4, 2015, 3:06 AM
Pavithra LPosted Sep 4, 2015, 3:02 AM
Raja TPosted Sep 4, 2015, 2:54 AM
Pavithra LPosted Sep 4, 2015, 2:44 AM
Raja TPosted Sep 4, 2015, 1:51 AM
Pavithra LPosted Sep 4, 2015, 12:16 AM
Raja TPosted Sep 3, 2015, 1:40 PM
Db change:-
In login table add new column like
Role Bit(1,0)
Note: By default assign hard code for admin : 1.
.CS file change
Check the given login admin or user?
If you user it can't modify/delete access
Else admin you can access all rights.
Raja TPosted Sep 3, 2015, 7:09 AM
Pavithra LPosted Sep 3, 2015, 7:01 AM
Blackbarbie BbPosted Sep 3, 2015, 6:14 AM