giving permissions to different users in winforms

3 posts, 0 answers
  1. srm
    srm avatar
    2 posts
    Member since:
    Jul 2011

    Posted 15 Jul 2011 Link to this post

    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 do I disable controls that r updating data in database for other users.
    can anyone brief me on this?
    thanks in advance
  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 15 Jul 2011 Link to this post

    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,
    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!

  3. DevCraft R3 2016 release webinar banner
  4. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 01 Aug 2011 Link to this post

    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.

Back to Top