Application Programming Interface Guide > Web Services Operations > Operations Reference > createGroup
 
createGroup
Create a new group within a domain. If the domain is an EXTERNAL domain, the group is a read-only reference to that domain’s group. In other words, when the group is destroyed, only the reference to the group is destroyed.
Location
/services/webservices/system/admin/user/operations/
Request Elements
domainName: The name of the domain in which to create the group.
groupName: The group name.
explicitRights (optional): A bit mask for a group’s rights. For a table of values, see User and Group Rights Mask.
annotation (optional): A description of the group.
Response Elements
N/A
Faults
DuplicateName: If a group with the same name already exists.
IllegalArgument: If the group name is not valid within the domain.
NotAllowed: If the domain does not allow groups to be created in it.
NotAllowed: If an attempt is made to use this operation with an insufficient license.
NotFound: If the domain does not exist.
Security: If the group does not have the ACCESS_TOOLS and MODIFY_ALL_USERS rights.