This command adds a new group.
Table 14–3 Arguments and Result for the udb.g.add Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
n |
Required |
String |
The new group name |
d |
Optional |
String |
The new group description |
hostWrite |
Optional |
Boolean |
Whether the new group has write permission on hosts; default is false |
notRuleWrite |
Optional |
Boolean |
Whether the new group has write permission on notification rules; default is false |
adminWrite |
Optional |
Boolean |
Whether the new group has write permission on ``admin: users and groups;'' default is false |
diffWrite |
Optional |
Boolean |
Whether the new group has write permission on comparisons; default is false |
diffRun |
Optional |
String |
The hostSet ID for which the new group has execute permission for comparisons. An empty value removes the execute permission on any hostsets. To set this permission for ``all'' hostsets, clients use the ``allhosts'' sentinel value. |
ua |
Optional |
UserArray |
The new group users |
pga |
Optional |
GroupArray |
The new group parent groups |
cga |
Optional |
GroupArray |
The new group child groups |
result |
Group |
The new group |