"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