This function returns a result set token, representing
the set of resource group IDs currently available for the specified
Gateway daemon.
Detail
This function is called with
a gateway token and a result set token pointer. The result set returned
can be parsed with functions
getFirstId and
getNextId, or used to generate a query string
with
getIdQuery.