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 Hub instance, but a different default connection can be set using the hubcli connection use command.
--createdAfter time
Lists only users created after the specified time.
--createdBefore time
Lists only users created before the specified time.
--debug
Enables debug logging.
--deletedOnly
Lists only deleted users.
--external
Lists only list external users; that is, users imported from LDAP.
-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.
--local
Specifies that only local users are listed; that is, users that are not imported from LDAP.
--modifiedAfter time
Lists only users modified after the specified time.
--modifiedBefore time
Lists only users modified before the specified time.
-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. The sort order of the list is set before the offset takes effect; therefore the list returned is the offset of the sorted list. The list is ordered by default by the modification time, or by the setting of the --sort flag.
--sort order
The order in which results are returned. order can be one of the following:

name Sort by name.
created Sort by creation time.
modified Sort by modification time.

Note: ls is an alias of list.