The addmember command is used primarily to add one or more new members to a group. The new members can be an existing AccuRev usernames or existing groups. You can nest group membership to any number of levels. The group that the member(s) are added to is listed at the end of the command.
An alternative use of the addmember command is to remove one or more members from a group. The syntax for this command variant uses parentheses around each user or group to be removed. Items to be added or removed may be specified in any order on the command line.
Create a new group, qagrp, and add it to the existing group
eng:
Add and remove several AccuRev users and groups from existing group eng (the command shown removes the user
john and the group
project_qa, and adds the user
joseph):
Note: On UNIX/Linux systems, you will probably need to put backslashes (
\ ) before the parentheses to escape them for the shell: