changegroup is the tool to change a group 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 <contextid> | The id of the context |
| -i,--groupid <groupid> | The id or the name of the group |
| -n,--name <string> | The group name |
| -d,--displayname <string> | The displayname for the Group |
| -a,--addmembers <userid(s)> | List of members to add to group, separated by "," |
| -r,--removemembers <userid(s)> | List of members to be removed from group, separated by "," |
| -A,--adminuser <string> | Context Admin user name |
| -P,--adminpass <string> | Context Admin password |
contextid {adminuser adminpass} (groupid or name) and at minimum one parameter for an attribute to change
On success:
group <groupid> in context <contextid> changed
On failure:
group <groupid> in context <contextid> could not be changed: <reason from server>