hubcli role list¶
Lists all roles.
The command has the following format:
hubcli role list [flags]
where:
- flags
- One or more optional flags that provide additional control over execution of the command.
The following flags are available:
-c stringor--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 usecommand. --createdAfter time- Lists only roles created after the specified time.
--createdBefore time- Lists only roles created before the specified time.
--debug- Enables debug logging.
-hor--help- Returns help information for this command.
--includeSystem- Include system roles. By default, system roles are excluded.
--json- Returns the properties of the role in JSON format.
-l intor--limit int- Lists only the number of roles specified by int. By default 100 are listed. Counting begins from the first listed job.
--modifiedAfter time- Lists only roles modified after the specified time.
--modifiedBefore time- Lists only roles modified before the specified time.
-o intor--offset int- Skips the number of roles specified by int at the beginning of the returned list.
For example, if there are 200 roles and int is set to 100, then the first 100 roles are skipped
and only the remaining roles are listed. The sort order of the list is set before the offset takes effect;
therefore the list returned is the offset of the sorted list. T
The list is ordered by default by the modification time, or by the setting of the
--sortflag. --sort order- Specifies the order in which results are returned. order can be one of the following:
nameSort by name. createdSort by creation time. modifiedSort by modification time. --systemOnly- Only return system roles.
Note: ls is an alias of list.