Script to verify users group

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top