This is a migrated thread and some comments may be shown as answers.

giving permissions to different users in winforms

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
srm
Top achievements
Rank 1
srm asked on 15 Jul 2011, 07:59 AM
I am creating windows application with C# that requires to work with 2-3 users.The admin user should get
all the rights to access all forms and can do activity such as retreive data,insert, update and delete.wherein other
users should not get all the access.how do I disable controls that r updating data in database for other users.
can anyone brief me on this?
thanks in advance

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 15 Jul 2011, 09:32 AM
Hi Srm,

Your question does not seem to be directly related to RadControls for WinForms. Therefore, I would kindly ask you to address your question in the appropriate MSDN Forums.

Generally, RadControls have the Enabled property that you can set to false in order to disabled them.

I hope this helps.

Best wishes,
Nikolay
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
erwin
Top achievements
Rank 1
Veteran
answered on 01 Aug 2011, 07:52 PM
Hi Srm,

If you are talking to a server (database or webservices) or similar, you have to implement security there first. Just disabling a control is not enough (it's nice though to show the user that she cannot change something, but there is nothing to stop people using an own client application to connect to your server and call every bit ot the functionality that the server exposes.

Regards
Erwin
Tags
General Discussions
Asked by
srm
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
erwin
Top achievements
Rank 1
Veteran
Share this question
or