listgroup is the tool to list and search for groups in a given context
| -h,--help | Prints a help text |
| --environment | Show info about commandline environment |
| --nonl | Remove all newlines (\n) from output |
| -c,--contextid <integer> | The id of the context |
| -s,--searchpattern <string> | Search/List pattern, default “*” |
| --csv | command output as csv |
| -A,--adminuser <string> | Context Admin user name |
| -P,--adminpass <string> | Context Admin password |
Standard output:
| id | name | displayname | members | |
| 3 | users | "all users" | "2,4,5,8" |
csv output:
id,name,displayname,email,members