You configure user groups at the users group levels.
To add a new user group, use the following command:
Admin@nodename# create users group <parameter>
You can specify the following parameters:
Parameter |
Description |
---|---|
name |
The user group name. |
description |
The user group description. |
transient |
Values:
|
users |
Add users to the group. |
ldap-users |
Add LDAP users. When adding LDAP users, specify an LDAP connector (ldap-users connector <ldap-server-name> users + [ <domain\user1> <domain\user2> ... ]). |
To edit information about a user group, use the following command (the parameters available to update are the same as those for creating a group):
Admin@nodename# set users group <group-name> <parameter>
To display group settings, use the following command:
Admin@nodename# show users group <group-name>
Example commands to create and edit a user group:
Admin@nodename# create users group name "Test user group" ldap-users connector "LDAP connector" users [ testd.local\user1 ] Admin@nodename# show users group "Test user group" name : Test user group is-ldap : off is-transient : off users : user1 user1 (testd.local\user1) Admin@nodename# set users group "Test user group" users [ user2 ] Admin@nodename# show users group "Test user group" name : Test user group is-ldap : off is-transient : off users : user2; user1 user1 (testd.local\user1)
To delete a user group or individual users from it, use the following commands:
Admin@nodename# delete users group <group-name>
To delete local users, use the following command:
Admin@nodename# delete users group <group-name> users [ <user1> <user2> ... ]
To delete LDAP users, use the following command:
Admin@nodename# delete users group <group-name> ldap-users connector <ldap-server-name> users [ <domain\user1> <domain\user2> ... ]
Example of removing an LDAP user from a group:
Admin@nodename# delete users group "Test user group" ldap-users connector "LDAP connector" users [ testd.local\user1 ]