-
July 25th, 2011, 08:39 AM
#1
What is the best way to approach this
Lets say I have a group of employess. In this group of employees there are 3 access levels.
Access Level 1 can do basic functions no access, Level 2 basic functions plus secret access, Level 3 all functions plus top secret access
What is the best way to design definitions based on this? So that anywhere in the program I can call up the access level for the employee using the program and check his/her level and all functions they are allowed to use.
3 separate classes, interfaces, else?
Last edited by codeguy03; July 25th, 2011 at 08:43 AM.
-
July 26th, 2011, 07:08 AM
#2
Re: What is the best way to approach this
I would use Roles class for checking the access level and own implementation of RoleProvider, or choose one of framework's implemetations.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|