Results 1 to 6 of 6
  1. #1
    tylerg11 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    200

    User Roles

    I have a split database - back end SQL Server and the front end is Microsoft Access 2007. I would like to somehow group the users into different roles that I create (specific groupings custom to this project...for example, Payroll, Training, etc.) I would then use these groups to set the criteria as to what object and controls the user sees based on their group. I know this is a big piece, but just wondering if anyone has any ideas or suggestions. Thanks!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    One way using Active Directory created by my buddy Tom:

    http://www.accesssecurityblog.com/po...Directory.aspx
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    tylerg11 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    200
    Quote Originally Posted by pbaldy View Post
    One way using Active Directory created by my buddy Tom:

    http://www.accesssecurityblog.com/po...Directory.aspx
    Thanks! That seems like a better way to go since you are using already existing users in Active Directory. Great idea!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem! I haven't implemented that in a production db (haven't needed it), but I tested it while he was working on it and it worked well for me.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    tylerg11 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Sep 2011
    Posts
    200
    One more question....

    Do I have to copy the three modules from the sample project from that link in order to begin using the functions mentioned?

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Yes, as noted in the link:

    To start using the sample code in the attached project, copy these modules to your application: modAPI, modSecurity, and modUtilities. Also set a reference (code window > Tools > References) to "Active DS Type Library" (activeds.tlb). Choose Debug > Compile to make sure the code compiles.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 13
    Last Post: 11-18-2013, 02:20 PM
  2. Replies: 3
    Last Post: 09-22-2011, 03:35 PM
  3. Replies: 1
    Last Post: 08-13-2011, 04:44 AM
  4. Replies: 8
    Last Post: 06-30-2010, 10:57 PM
  5. Look Up User.
    By emccalment in forum Forms
    Replies: 2
    Last Post: 03-02-2010, 11:09 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
  •  
Other Forums: Microsoft Office Forums