Summary:
Adds a group to a server.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
Group to add. |
|
|
|
|
|
|
|
Group name. |
|
|
|
|
|
|
|
This element, together with the |
|
|
|
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
The new group information. |
Example:
Creating a new group named "TestGroup" in the specified server. The group ID will be selected from the specified GID range.
Input
<packet version="4.0.0">
<dst>
<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>
</dst>
<target>userm</target>
<data>
<userm>
<add_group>
<group>
<name>TestGroup</name>
</group>
<min_gid>100</min_gid>
<max_gid>200</max_gid>
<create_initial_group/>
</add_group>
</userm>
</data>
</packet>
Output
<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/userm" xmlns:ns3="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="0" id="2c46012676t18berf08" time="2007-03-16T22:12:46+0000" priority="0" version="4.0.0">
<ns1:origin>9bafbeb7-85f7-499e-a210-40e00850a5f3</ns1:origin>
<ns1:dst>
<director>gend</director>
<target>vzclient3</target>
</ns1:dst>
<ns1:data>
<ns2:userm>
<ns2:group xsi:type="ns3:groupType">
<ns3:gid>102</ns3:gid>
<ns3:name>TestGroup</ns3:name>
</ns2:group>
</ns2:userm>
</ns1:data>
<ns1:src>
<ns1:director>vpsd</ns1:director>
<ns1:target>userm</ns1:target>
</ns1:src>
<ns1:target>vzclient3</ns1:target>
</ns1:packet>