Previous page

Next page

Locate page in Contents

Print this page

group_add_user

Summary:

Adds a user or a member group to a group.

Request specification:

Name

Min/Max

Type

Description

group_add_user

0..[]

 

 

{

 

 

 

group

1..1

 

Group to add the user to (the group must already exist).

{

 

 

 

name

0..1

string

The group name.

}

 

 

 

[

 

 

 

user

1..1

 

The user to add to the group (the user must already exist).

{

 

 

 

name

0..1

string

User name.

}

 

 

 

member_group

1..1

 

The member group to add to the group (the group that you are adding as a member group must already exist).

{

 

 

 

name

0..1

string

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>

Please send us your feedback on this help page