Adds user groups.
Output / Response
Returns the object ID for the new Address Manager user group.
Tip: To add users to a
user group, use the linkEntities() method, specifying the
user ID and the group ID. It does not matter which entity is used as the user ID
or the group ID. Either of the following Java examples will add a user to a user
group:
void linkEntities ( long user_id, long group_id, String properties ) or void linkEntities ( long group_id, long user_id, String properties )
API Call:
long addUserGroup( String name, String
properties )
Parameter | Description |
---|---|
name | The name of the user group. |
properties | Adds object properties, including user-defined fields. |