Skip to content

hubcli user list

Lists users.

The command has the following format:

hubcli user list [flags]

where:

flags
One or more optional flags that provide additional control over execution of the command.

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 Altair SLC Hub instance, but a different default connection can be set using the hubcli connection use command.
--debug
Enables debug logging.
--enabled
Filters users by enabled state. Pass --enabled=false to list only disabled users.
-h or --help
Returns help information for this command.
--includeDeleted
Includes deleted users.
--json
Returns the list in JSON format.
-l int or --limit int
Lists only the number of users specified by int. By default 100 are listed. Counting begins from the first listed job.
-o int or --offset int
Skips the number of users specified by int at the beginning of the returned list. For example, if there are 200 users and int is set to 100, then the first 100 users are skipped and only the remaining users are listed.
-r or --relativeTimes
Displays times as relative time rather than absolute time.

For example, hubcli user list returns:

 ID                                    USERNAME          ENABLED  DISPLAY NAME  EMAIL                    CREATED
 7bbdc64f-2b73-4976-a9a6-618f34ca691a  hubadministrator  true     Hub Admin      [email protected]     2026-09-09 06:17:01 UTC
 298a0440-a0d2-4d02-b934-79f1b9404ab0  jsmith            true     John Smith     [email protected]       2026-09-09 06:16:38 UTC

Running hubcli user list -r returns the same list with relative timestamps in the CREATED column:

 ID                                    USERNAME          ENABLED  DISPLAY NAME  EMAIL                    CREATED
 7bbdc64f-2b73-4976-a9a6-618f34ca691a  hubadministrator  true     Hub Admin      [email protected]     2 hours ago
 298a0440-a0d2-4d02-b934-79f1b9404ab0  jsmith            true     John Smith     [email protected]       2 hours ago

Note: ls is an alias of list.