Lists all inline policies that are attached to the specified IAM user.
| UserName | The name of the user to list attached policies for. |
| Marker | Marker is obtained from paginated response from the previous query. Use this only if the response indicates it is truncated. |
| MaxItems | Indicates the maximum number of elements to be returned in the response. |
This call has no restrictions.
No Request Payload
| 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 |
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>
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>