Skip to content

hubcli group member add

Adds a user or group as a member of a group.

The command has the following format:

hubcli group member add [flags] groupname

flags
One or more optional flags that provide additional control over execution of the command.
groupname
The name of the group to which specified users and groups are added.

The following flags are available:

-c string or --connection string
Specifies the name of the connection to use. If you do not specify this option, then the default connection is used. If there is no default connection, then you must specify a connection. The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance, but a different default connection can be set using the hubcli connection use command.
--group groupname-list
Specifies a list of one or more group names to add to the group specified by groupname. Multiple groups names are separated using commas. The specified groups will be created as direct member of groupname.
--debug
Enables debug logging.
-h or --help
Returns help information for this command.
-user user-name-list
Specifies a list of one or more user names to be added to the group specified by groupname. Multiple user names are separated using commas.