Previous Topic: group get (Group Management)--Show Group InformationNext Topic: group modify (Group Management)--Replace a Local Group's Description or Membership


group put (Group Management)--Replace a Local Group's Description and Entire Membership

Replace a local group's description and entire membership.

Syntax
group put <name> description=<val> [ <principal1> ... <principalN> ]
Parameters
<name>

Name of the local group.

description=<val>

Group description.

<principal>

A group member in the form <scope>:<type>:<name> where <scope> is local, <type> is user or group, and <name> is the user or group name.

Examples
group put my-group description='us' local:user:admin

Replace the description of local group 'my-group' and replace the membership such that the only member is local user 'admin'.

Notes