ListUserProjectActions
In this article:
ListUserProjectActions#
Description#
Returns the list of methods of project services that an IAM user may use.
Request Parameters#
ProjectName — The name of the project.
Type: String
Required: Yes
UserName — The name of the user.
Type: String
Required: Yes
Response Elements#
Actions — The list of methods of project services that an IAM user may use.
Type: Array of strings
Examples#
Request
https://iam.k2.cloud/?Action=ListUserProjectActions
&UserName=user-1
&ProjectName=project-1
Response
<ListUserProjectActionsResponse>
<ListUserProjectActionsResult>
<Actions>
<member>backup:*</member>
<member>s3:*</member>
<member>eks:*</member>
<member>route53:*</member>
<member>cloudwatch:*</member>
<member>rc:*</member>
<member>autoscaling:*</member>
<member>paas:*</member>
<member>ec2:*</member>
<member>elb:*</member>
</Actions>
</ListUserProjectActionsResult>
<requestId>b52f7f37-de9d-4730-b186-017beafa5040</requestId>
<ResponseMetadata>
<RequestId>b52f7f37-de9d-4730-b186-017beafa5040</RequestId>
</ResponseMetadata>
</ListUserProjectActionsResponse>
c2-iam ListUserProjectActions UserName user-1 ProjectName project-1