Creating users with different roles for my winform app

2 posts, 0 answers
  1. Anshul
    Anshul avatar
    2 posts
    Member since:
    Mar 2013

    Posted 18 Mar 2013 Link to this post

     I'm creating a winform application. I need to create certain users with different roles. Here are the 3 user groups:

    Admin : RW: Scheduler, Overall Planning data, Data Filter, Leaves Tracker, Scrum Meeting Data, Available PDs, Resource E-mailer
               : R: Effort Recorder
    Coord : RW: Data Filter, Scrum Meeting Data, Resource E-mailer
               : R: Effort Recorder, Leaves Tracker, Available PDs, Overall Planning Data,
    Tester    : RW: Effort Recorder, Data Filter
              : R: Overall Planning Data, Leaves Tracker, Scrum Meeting Data

    As stated above, Admin, Coord and Tester are the 3 user groups under which I've create multiple users. RW states Read-Write access to each of the modules mentioned above (such as Scheduler, Data Filter etc. ).  R indicates only the Read access.

    How could I achieve this using winforms? Could you please help?

    Here's the initial code I've so far!

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;

    namespace WindowsFormsApplication1
        public partial class Login : Form
            public Login()

            private void button4_Click(object sender, EventArgs e)
                Indexer ins = new Indexer();
                ins.MdiParent = this.MdiParent;

    Also, I've attached the design of Indexer which would be the next screens once a user logs in.
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 21 Mar 2013 Link to this post

    Hello Anshul,

    Thank you for writing.

    You can read
    this codeproject article to help you implement the roles based security model for your application and use our controls to implement the UI portion of your application.

    I hope this helps. Do not hesitate to contact us if you have further questions or issues. 

    Julian Benkov
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Back to Top