function

getgroups

A built-in CFEngine function in the system category that returns a list of strings. getgroups is not called from the policy on your hosts.

Signature
getgroups([string], [string], ...)
Parameters
  1. string Comma separated list of Group names (.*)
  2. string Comma separated list of GroupID numbers (.*)
Variadic: at least 0 and at most 2 arguments.
Returns
slist
Category
system