2. AccuRev® Command-Line Reference : addmember

addmember
change group membership
Usage
accurev addmember [(]<user-or-group-name>[)] <group-name>
accurev addmember [(]<user-or-group-name>[)] [ <users-or-groups> ]
[ (<users-or-groups>) ] <group-name>
Description
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.
AccuRev groups help to implement security, through the access control list (ACL), and also establish development roles.
Examples
Add AccuRev user john_smith to AccuRev group eng:
> accurev addmember john_smith eng
Create a new group, qagrp, and add it to the existing group eng:
> accurev mkgroup qagrp
> accurev addmember qagrp eng
Add several AccuRev users and groups to existing group eng:
> accurev addmember john james jenny project_qa 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):
> accurev addmember (john) (project_qa) joseph eng
Note: On UNIX/Linux systems, you will probably need to put backslashes ( \ ) before the parentheses to escape them for the shell:
> accurev addmember \(john\) \(project_qa\) joseph eng
See Also
chgroup, lsacl, mkgroup, mkuser, rmmember, setacl, show (groups and members)

Micro Focus