Summary:
Adds a user or a member group to a group.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
Group to add the user to (the group must already exist). |
|
|
|
|
|
|
|
The group name. |
|
|
|
|
|
|
|
|
|
|
|
The user to add to the group (the user must already exist). |
|
|
|
|
|
|
|
User name. |
|
|
|
|
|
|
|
The member group to add to the group (the group that you are adding as a member group must already exist). |
|
|
|
|
|
|
|
Group name. |
|
|
|
|
|
|
|
|
|
|
|
|
Returns:
OK/Error
Example:
Adding the user TestUser
to the group TestGroup
.
<packet version="4.0.0" id="2">
<dst>
<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>
</dst>
<target>userm</target>
<data>
<userm>
<group_add_user
>
<group>
<name>TestGroup</name>
</group>
<user>
<name>TestUser</name>
</user>
</group_add_user
>
</userm>
</data>
</packet>