"Active Group" is not a valid term.
You could say no groups are active.
You could equally say all groups are active.
You cannot say one group is active over another.
The only thing that's "active" is CurrentUser(), and they inherit all the
permissions, cumulatively, of all the groups they belong to.
How can you tell an "active group" with DAO, and what makes you think there
is?
Perhaps if you posted what exactly you were trying to achieve...we simply
don't know what you mean.
(also, it's got to be some special security issue, to even want to go through
the groups in code. In one db I do do it, to find in code if the user has
permission for something. But I step through (the user) and then all the
groups they belong to, to see if they have a particular permission. When they
do, no need to check further. The order of groups is probably alphabetical for
all I know, so nothing can be gleaned from which group I found the permissions
in first)
Chris
"Lois" <(E-Mail Removed)> wrote in message
news:4808E84F-600E-4BA2-896E-(E-Mail Removed)...
> The problem is that I loop through all the groups but this does not assure
me
> that if the user is assigned to two groups that the active group is the one
> that is listed. In fact that is my problem. How can I test the active group
> with the value in the loop for the current user. I can find the active
> group when using DAO but not in ADO . Any other suggestions?
>
|