getGroups

Back to index

Summary

Retrieves all groups.
filter
Stringoptional
Apply a glob-style filter (for example, foo*) when looking for users or groups.
includeAll
Booleanoptional
Whether to include all users or groups, or only users or groups that are known to the system.
maximum
Integeroptional
The maximum number of users or groups to return.
sortOrder
Stringoptional
Specifies the order to sort the results.
Possible values: "ascending", "descending"

Usage

Perl

$cmdr->getGroups( # optionals );

ectool

ectool getGroups \ # optionals

Examples

Perl

$cmdr->getGroups({filter => " dev*", maximum => 3,});

ectool

ectool getGroups --filter dev* --maximum 3