user-mgmt
list-users
Important: IBM Cloud Pak® for Data
Version 4.6 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.6 reaches end of support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1 documentation.
List all Cloud Pak for Data users.
Syntax
cpd-cli user-mgmt list-users \
--profile=<cpd-configuration-profile-name> \
[--cpdconfig=<cpd-configuration-location>] \
[--output=json|yaml|csv|text] \
[--verbose]
Arguments
The list-users
command has no
arguments.
Options
Option | Description |
---|---|
--cpdconfig |
The Cloud Pak for Data
configuration location.
|
|
Display command
help.
|
|
Specify an output format. Valid
formats include json, yaml, csv, or text (the default
format).
|
--profile |
The profile-name from the Cloud
Pak for Data configuration.
|
--verbose |
Logs include more detailed
messages.
|
Examples
Note: The following examples use the recommended installation environment variables.
Use a script to create environment variables with the correct values for your environment. For more information, see Best practice: Setting up install variables.
- List all Cloud Pak for Data users in the default *.txt format.
-
cpd-cli user-mgmt list-users \ --profile=<cpd-configuration-profile-name>
- List all Cloud Pak for Data users in *.json format.
-
cpd-cli user-mgmt list-users \ --profile=<cpd-configuration-profile-name> \ --output=json
- List all Cloud Pak for Data users in the default *.csv format.
-
cpd-cli user-mgmt list-users \ --profile=<cpd-configuration-profile-name> \ --output=csv