You haven’t specified if you are looking for client or session relevance.
Client Relevance (the numbers are the integer ID of the group):
member of group 1234567 of site "actionsite"
member of group 7654321 of site "DummySite"
exists results (bes computers /* use whose statement to narrow down which computers you want to check */; bes computer group whose (name of it = "DummyGroup"))
names of members of bes computer group whose (name of it = "DummyGroup")