How do I add all the members of one group to another through the CLI?
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
Directory and Resource Administrator 8.0
To add all members from one group to another, please use the command line syntax below. The source refers to the group that has the users currently and the target is the group that will have the users added to it.
- EA Group target MemberAdd @GroupUsers(source)
If the DRA server is managing more than one domain, it will be necessary to specify the DRA server and managed domain for the CLI to reference. The following syntax reflects these parameters:
- EA /Domain:domain_name /server:DRA_server_name Group target MemberAdd @GroupUsers(source)