CLI Reference > Server Administration Commands > integrity editmksdomaingroup
 
integrity editmksdomaingroup
edits an MKS Domain group
Synopsis
integrity editmksdomaingroup [--addMembers=value] [--description=value] [--removeMembers=value] [--hostname=server] [--port=number] [--password=password] [--user=name] [(-Ffile|--selectionFile=file)] [(-?|--usage)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [(-g|--gui)] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] [--[no]markRestricted] group...
Description
integrity editmksdomaingroup edits a group from the MKS Domain. The group name is not editable. For example:
integrity editmksdomaingroup --addMembers=u=jriley,u=nsingh Development adds the members jriley and nsingh to the MKS Domain group Development.
Options
This command takes the universal options available to all integrity commands, as well as some general options. See the options reference page for descriptions.
--addMembers=value
specifies members to add to the group, where value=u=user1,u=user2,...,g=group1,g=group2,...
* 
The list of members to add cannot include any of the same members as specified with the --removeMembers option.
--description=value
specifies an optional description of the group.
--removeMembers=value
specifies members to remove from the group, where value=u=user1,u=user2,...,g=group1,g=group2,...
--[no]markRestricted
changes the restricted attribute of the group. A restricted group can only be edited by principals having RestrictGroup permission granted for the mks:system:mksdomain ACL.
* 
While editing a restricted group, if principal does not have the RestrictGroup permission granted for the mks:system:mksdomain ACL, the following error is displayed:
MKS 1039956: You must have RestrictGroup permission granted for the mks:system:mksdomain ACL to be able to administer restricted MKS domain group.
group...
specifies the selection of a group to edit.
Diagnostics
See the diagnostics reference page for possible exit status values.
See Also
Commands: integrity_createmksdomaingroup, integrity_deletemksdomaingroup, integrity_mksdomaingroups, integrity_viewmksdomaingroup
Miscellaneous: ACL, diagnostics,options, preferences