Support This Project

site changegrp

Description

Add or remove a user from one or more groups, depending on whether the target user is currently part of the group(s). If the user being targeted by this command is already in the group, they will be removed. Likewise if they aren't currently in the group, they will be added.

Syntax

site changegrp <user> <group1> [<group2> ...]

Detailed information on the options/arguments: <user>, <group>

Limitations

  • Group administrators cannot use this command to add/remove a user from another group they're not authorized to control

Examples

site changegrp frank downloaders uploaders

Assume that the user frank is already in the downloaders group, but is not part of the uploaders group. This command will remove frank from the downloaders group and add frank to the uploaders group instead.