project member get
Return the project member with the specified 'user_name' (when applicable).
Syntax
cpd-cli project member get \
--profile=<profile-name> \
--project-id=<project-id> \
--user-name=<user-name>
[--cpd-scope=<cpd-scope>] \
[--jmes-query=<jmespath-query>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
[--raw-output=true|false] \
[--resolve-groups] \
Arguments
The project member get command has
no arguments.
Options
Table 1: Command options
| Option | Description |
|---|---|
--cpd-scope |
The IBM Software Hub space,
project, or catalog scope. For example,
cpd://default-context/spaces/7bccdda4-9752-4f37-868e-891de6c48135.
|
|
|
Display command
help.
|
--jmes-query |
Provide a JMESPath query to
customize the output.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--profile |
The name of the profile that you
created to store information about an instance of IBM Software Hub and your credentials for the
instance.
|
--project-id |
Specify an IBM Software Hub
project instance.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--resolve-groups |
When the option is specified, a
derived project member that is based on resolving user groups is
returned.
|
--user-name |
Specify a username that
corresponds to a project member.
|