Command Line Reference Guide

Managing Cartridges and Metrics 139
Managing Security Entities
Managing Groups
This section describes the following commands:
•“assignrole” on page 139
•“creategroup” on page 140
•“deletegroup” on page 141
assignrole
The assignrole command adds or removes a vFoglight role from a group. A group
can have one or more roles.
Note You can run this command only if the user account you are using to log into fglcmd has a
Security role. For information about fglcmd connection options, see “Logging In and Setting
the Scope” on page 70. For complete information about users, roles, and groups in
vFoglight, see the Administration and Configuration Guide.
Scope
security
Syntax
fglcmd connection_options -cmd security:assignrole
-groupname groupname -rolename rolename [-remove]
Options and arguments
Option Argument Description
groupname
groupname Specifies the name of the group to which the role is to be
added or removed
remove
None Indicates that the role should be removed from the group
rolename
rolename Specifies the name of the role that is to be added or
removed from the group