GenieGate, Version 1.1.0 (PHP 5) manual

checkGroups()

public boolean checkGroups( &$groups array );

Test if the user is a member of all the listed groups. If the user is in the "admin" group, it always returns TRUE.