You can use the udb.g commands to define, modify, delete, and list user groups.
Table 15–2 Summary of udb.g Commands
Command Name |
Description |
---|---|
udb.g.add |
Adds a new user group |
udb.g.del |
Deletes a user group |
udb.g.la |
Lists all the user groups |
udb.g.lo |
Retrieves information about the specified user group. |
udb.g.lp |
Lists the permissions granted to the specified group |
udb.g.lu |
Lists the users who are members of the specified group |
udb.g.mod |
Modifies an existing user group |
This command adds a new group.
Table 15–3 Arguments and Result for the udb.g.add Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
n |
[R] |
String |
The new group name |
d |
[O] |
String |
The new group description |
ua |
[O] |
UserArray |
The new group users |
pa |
[O] |
PermissionArray |
The new group permissions |
pga |
[O] |
GroupArray |
The new group parent groups |
cga |
[O] |
GroupArray |
The new group child groups |
result |
Group |
The new group |
This command deletes the specified group.
Deleting a group does not delete the user accounts in the group. It simply deletes the group as a classification for the user accounts.
Argument |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
This command lists all the groups defined in the N1 Service Provisioning System software.
Table 15–5 Result for the udb.g.la Command
Result |
Syntax |
Description |
---|---|---|
result |
GroupArray |
The groups |
This command retrieves the specified group.
Table 15–6 Argument and Result for the udb.g.lo Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
result |
Group |
The group |
This command lists the permissions granted to a group
Table 15–7 Argument and Result for the udb.g.lp
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
result |
PermissionArray |
The permissions |
This command lists the members of the specified group
Table 15–8 Argument and Result for the udb.g.lu Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
result |
UserArray |
The users |
This command modifies an existing group. Omitted arguments preserve current values
Table 15–9 Arguments and Result for the udb.g.mod Command
Argument/Result |
Syntax |
Description |
|
---|---|---|---|
ID |
[R] |
GroupID |
The group ID |
n |
[O] |
String |
The new group name |
d |
[O] |
String |
The new group description |
ua |
[O] |
UserArray |
The new group users |
pa |
[O] |
PermissionArray |
The new group permissions |
pga |
[O] |
GroupArray |
The new group parent groups |
cga |
[O] |
GroupArray |
The new group child groups |
result |
Group |
The modified group |