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
stringComma separated list of Group names (.*)stringComma separated list of GroupID numbers (.*)
Variadic: at least 0 and at most 2 arguments.- Returns
slist- Category
- system