ListProjectUsers
In this article:
ListProjectUsers#
Description#
Returns the list of users who have access to the specified IAM project.
Request Parameters#
ProjectName — The name of the project.
Type: String
Required: Yes
Response Elements#
Users — The list of users who have access to the project.
Type: List of User objects
Examples#
Request
https://iam.k2.cloud/?Action=ListProjectUsers
&ProjectName=project-1
Response
<ListProjectUsersResponse>
<ListProjectUsersResult>
<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>
</Users>
</ListProjectUsersResult>
<requestId>d504aec1-dc0f-4389-b731-06f5e158a41f</requestId>
<ResponseMetadata>
<RequestId>d504aec1-dc0f-4389-b731-06f5e158a41f</RequestId>
</ResponseMetadata>
</ListProjectUsersResponse>
c2-iam c2-iam ListProjectUsers ProjectName project-1