|
group.create
|
| |
|
description
Create a new group. A group can be global (to a the whole hosted site), or local to a site.
privilege-required
root
tx-support
true
|
| |
|
PARAMETER
|
|
name
|
type
|
default-value
|
required
|
description
|
| global |
boolean |
none |
false |
Mention if the group is global (usable on all site) or local to the current site. |
| name |
string |
none |
true |
Group name. The name syntax should respect a regexp defined in the configuration file. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Group allready exists |
|
| |
|
RESULT
|
|
|
name
|
description
|
| id |
Id of the new group. |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="group.create" >
<nvd:parameter name="name">mygroup</nvd:parameter>
<nvd:parameter name="global">true</nvd:parameter>
<nvd:result name="id" variable="result" />
</nvd:command>
|
|