Command Line Reference Guide
140 vFoglight
Command-Line Reference Guide
Example
Adding a role to a group
C:\Vizioncore\vFoglight\bin>fglcmd -usr foglight -pwd foglight
-cmd security:assignrole -groupname MyGroup -rolename Operator
Note If successful, this command does not generate any output.
Removing a role from a group
C:\Vizioncore\vFoglight\bin>fglcmd -usr foglight -pwd foglight
-cmd security:assignrole -groupname MyGroup -rolename Operator
-remove
Note If successful, this command does not generate any output.
See also
•“creategroup” on page 140
•“deletegroup” on page 141
creategroup
The creategroup command creates a vFoglight group. A group can have one or more
users, and can be assigned one or more vFoglight roles. When you create a group, that
group has no roles assigned to it. Use the assignrole command to add a role to a group
(see page 139).
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:creategroup
-groupname groupname










