Script to verify users group

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to create a script that runs when my database is opened. I would
like this script to check to see if the (CurrentUser) is a member of the
Admins group. If the user is not a member of the Admins group then display
an error message and then close the database. I'm sure that this is very
easy in code, but I'm clueless when it comes to VBA.

Thanks
 
Back
Top