CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Aug 2009
    Posts
    25

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured