Hello
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()
{
InitializeComponent();
}
private void button4_Click(object sender, EventArgs e)
{
Indexer ins = new Indexer();
ins.MdiParent = this.MdiParent;
this.Hide();
ins.ShowDialog();
}
}
}
Also, I've attached the design of Indexer which would be the next screens once a user logs in.
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()
{
InitializeComponent();
}
private void button4_Click(object sender, EventArgs e)
{
Indexer ins = new Indexer();
ins.MdiParent = this.MdiParent;
this.Hide();
ins.ShowDialog();
}
}
}
Also, I've attached the design of Indexer which would be the next screens once a user logs in.