Globus Connect Server Collection Role Show
Description
The globus-connect-server collection role show command shows information about a single role associated with a collection. By default, this command displays the role id, role name, principal and the id of the collection. Alternatively, it can display a JSON document containing the role. Use the -F json command-line option to enable this output format.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- -F, --format "text"|"json"
-
Output format for this command. If the format is json, then the role document is displayed.
- --use-explicit-host IP_ADDRESS (new in 5.4.23)
-
IP address of the GCS node to use for this request. If not specified, any available GCS node in the endpoint will be used.
Example
This example shows a collection role in both formats:
$ globus-connect-server collection role show 751a299b-5cdf-4f89-b210-6982351b7956 Role ID: 751a299b-5cdf-4f89-b210-6982351b7956 Collection ID: e6e85e0b-5305-461c-b437-3d904992b08c Role: owner Principal: user@example.edu
$ globus-connect-server collection role show 751a299b-5cdf-4f89-b210-6982351b7956 -F json
{
"DATA_TYPE": "role#1.0.0",
"collection": "e6e85e0b-5305-461c-b437-3d904992b08c",
"id": "751a299b-5cdf-4f89-b210-6982351b7956",
"principal": "urn:globus:auth:identity:a1441af8-452e-4774-aecb-e4d25f9e0f09",
"role": "owner"
}