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?
Jump to Post
Use 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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.