list-users
Lists all users.
list-users
[-f | --force-synchronization]
[-l value | --limit=value]
[-s value | --search-expression=value]
[-d | --display-name-search]
[-e <true|false> | --exclude-disabled=<true|false>]
[--list-extended-information]
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
[-q | --query-string]
Overview
Use this command to list all users in the user directory. It does not work when using the user directory Windows provider.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | Indicates that the command should force a user directory synchronization before attempting to list the users. This argument has no effect if the user directory is running in database mode. |
|
Optional | 100 | The maximum number of users to list. |
|
Optional | none | A search expression that can be used to
search for users with names matching the expression.
For example, "jdoe, janedoe". |
|
Optional | none | Indicates whether the search expression should be used to match display names rather than user names. |
|
Optional | false | Indicates whether disabled users should be excluded. |
|
Optional | false | Indicates whether extended information such as display name, email, and last login time should be displayed for each user. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | none | The configuration tool password used to decrypt the database password in the file bootstrap.xml. If the tool password is omitted, the command prompts the user for it in the console. See the Bootstrap.xml file. |
|
Optional | none | Indicates whether the search expression
(--search-expression ) should be used as a query string rather
than user names, and specifies the query to use.
Examples of search expressions that are valid query strings
are:
Note: To search for usernames only, you can specify names
using
--search-expression directly. When
--query-string is used, the use of
--display-name-search is obsolete.
|
Parent topic: Command-line reference