Question Log-in User Levels

kheilaize

New member
Joined
Dec 8, 2009
Messages
2
Programming Experience
Beginner
Hi guys! I'm a newbie here. I need some help regarding the system i'm developing for my thesis. I'm a beginner in VS08 and i'm not really familiar with it.

So, i have a login form and it has 3 user levels - admin, manager & accountant - which have limited privileges using the system. For ex., if admin logged in, this user can access the whole system; if manager logged in, this user can only access the employee records; & accountant user can only access the payroll.

i actually have the idea but because i lack knowledge about vb.net, i don't know how to code it.

here's the process:
Log-in form>choose User level>Main menu

At the main menu, buttons are enabled & disabled depending on the user level that was entered.

I'm actually in a rush. I'd be really grateful to those who will reply. TIA :)
 
Fast and dirty -- Part of the login process sets a global application variable to which type of user is logged in. Then in each of the Form_Load events you would use a Select Case to determine which controls were available or not.
 
Back
Top