
Evaluates the tenancies that this user maps to based on the mappings defined in the Tenants in the system.
username | required The user name for which to retrieve the tenant list. |
This call has no restrictions.
User tenant list
Field | Description | Type | Notes |
<tenants> | |||
<tenant> |
0-* Elements Valid Values:
|
||
<id> | Tenant id corresponding to the user's Tenant | URI | |
<user_mapping> | |||
<domain> | String | ||
<attributes> |
0-* Elements |
||
<key> | String | ||
<value> | String |
0-* Elements |
|
</attributes> | |||
<groups> | String |
0-* Elements |
|
</user_mapping> | |||
</tenant> | |||
</tenants> |
GET https://192.168.0.0:4443/user/tenant?username=root Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <tenants> <tenant> <id>urn:storageos:TenantOrg:dbeb4135-e297-40d9-a5d4-9b40c73bdb4b:</id> </tenant> </tenants>