Dell Technologies ECS REST API

Search (SHIFT+S)




Get User

POST /iam?Action=GetUser

Returns the information about the specified IAM User in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

UserNameThe name of the user to retrieve.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
GetUserResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=User1&Action=GetUser
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:GetUserResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:9df1:176</RequestId>
    </ResponseMetadata>
    <GetUserResult>
        <User>
            <Arn>urn:ecs:iam::ns:user/User1</Arn>
            <CreateDate>2020-04-15T15:17:15Z</CreateDate>
            <Path>/</Path>
            <PermissionsBoundary>
                <PermissionsBoundaryArn>urn:ecs:iam:::policy/IAMReadOnlyAccess</PermissionsBoundaryArn>
                <PermissionsBoundaryType>Policy</PermissionsBoundaryType>
            </PermissionsBoundary>
            <Tags/>
            <UserId>AIDA7079A32D6242C3A4</UserId>
            <UserName>User1</UserName>
        </User>
    </GetUserResult>
</ns2:GetUserResponse>