Hi i am making a C# window application, in which i have two accounts one for user, and other for admin.
How can i provide different different rights to user and admin.
Like i want that all the buttons and everything should be visible to both user and admin, but admin could edit and modify whatever he wants, but for user i want certain functions and buttons to be disabled, user could see them but could not perform any functionality.
How can i do this, can anyone help me in this?
abc16
0
Newbie Poster
Recommended Answers
Jump to PostPerhaps this snippet can help http://www.daniweb.com/code/snippet217409.html.
Jump to PostUse Role Based Access (Not Role Based Authorization). Role-based access control attempts to allow administrators to specify access control in terms of the organizational structure of a company. You assign a user or a group of users to a role to perform a specific job function and restrict them to …
All 6 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
abc16
0
Newbie Poster
abc16
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
abc16
0
Newbie Poster
Geekitygeek
480
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.