User and AnyObject group membership can be queried via FIQL as
and will return all users that are members of the root group.
A nice improvement is to allow expressions as
to return users that are members of any group matching the provided wildcard expression, e.g.
and so on.