ListUsers#

Description#

Returns the list of IAM users.

Response Elements#

  • Users — The list of users.

    • Type: List of User objects

Examples#

Request

https://iam.k2.cloud/?Action=ListUsers

Response

<ListUsersResponse>
    <ListUsersResult>
        <Users>
            <member>
                <UserArn>arn:c2:iam::c2dev:user/user-1</UserArn>
                <UserId>a73bacad-aeca-4916-b37a-7d5f871b068e</UserId>
                <UserName>user-1</UserName>
                <Login>user-1@c2dev</Login>
                <DisplayName>New Name</DisplayName>
                <Enabled>true</Enabled>
                <UpdateDate>1724426935</UpdateDate>
                <LastLoginDate>1724426979</LastLoginDate>
            </member>
            <member>
                <UserArn>arn:c2:iam::c2dev:user/user-2</UserArn>
                <UserId>fda7c70e-3551-4f31-9662-2e791bcc9335</UserId>
                <UserName>user-2</UserName>
                <Login>user-2@c2dev</Login>
                <DisplayName>display_name_2</DisplayName>
                <Enabled>false</Enabled>
                <UpdateDate>1724427849</UpdateDate>
            </member>
        </Users>
    </ListUsersResult>
    <requestId>7baab892-3f68-4bd7-a7fd-5e933ec8317b</requestId>
    <ResponseMetadata>
        <RequestId>7baab892-3f68-4bd7-a7fd-5e933ec8317b</RequestId>
    </ResponseMetadata>
</ListUsersResponse>
c2-iam ListUsers