security - user group

  • Thread starter Arlene McGowan via AccessMonster.com
  • Start date
A

Arlene McGowan via AccessMonster.com

I need to restrict certain records from a group when they search for
records. Does anyone know how I can I identify the user's group?
 
T

TC

A user can be a member of /many/ groups.

This displays the name of each group to which the currently logged-on
user belongs:

for each g in dbengine(0).users(currentuser()).groups
msgbox g.name
next

HTH,
TC
 
A

Arlene McGowan via AccessMonster.com

I have only 3 groups and none of the users are in multiple groups. Thanks
you, i'll try it out.
 
T

TC

If it is "possible" for a user to be a member of many groups, you
really should code for that case, even if you do not think it will
happen at first. This is called "defensive programming".

Cheers,
TC
 

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