Dell Technologies ECS REST API

Search (SHIFT+S)




List User Policies

POST /iam?Action=ListUserPolicies

Lists all inline policies that are attached to the specified IAM user.


Query Parameters

UserNameThe name of the user to list attached policies for.
MarkerMarker is obtained from paginated response from the previous query. Use this only if the response indicates it is truncated.
MaxItemsIndicates the maximum number of elements to be returned in the response.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
ListUserPoliciesResponse
ListUserPoliciesResult    
PolicyNames Name of inline Policy.
member String 0-* Elements
Marker When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request. String
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=tt1&Action=ListUserPolicies

Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:ListUserPoliciesResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:9a95:ef</RequestId>
    </ResponseMetadata>
    <ListUserPoliciesResult>
        <IsTruncated>false</IsTruncated>
        <PolicyNames>
            <member>InlinePolicy</member>
        </PolicyNames>
    </ListUserPoliciesResult>
</ns2:ListUserPoliciesResponse>