Queries Resource Access Management (RAM) users in a RAM user group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListUsersForGroup |
list |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupName |
string |
No |
The name of the RAM user group. |
Test-Team |
| Marker |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.`` When you call the operation for the first time, if the total number of returned entries exceeds the value of |
EXAMPLE |
| MaxItems |
integer |
No |
The number of entries per page. Valid values: 1 to 100. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
789FF581-B3C8-43A8-9115-54304B46D05C |
| IsTruncated |
boolean |
Indicates whether the response is truncated. Valid values:
|
true |
| Marker |
string |
The pagination token that is used in the next request to retrieve a new page of results. Note
This parameter is returned only when |
EXAMPLE |
| Users |
object |
||
| User |
array<object> |
The information about the RAM users. |
|
|
object |
|||
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example.onaliyun.com |
| DisplayName |
string |
The display name of the RAM user. |
test |
| UserId |
string |
The ID of the RAM user. |
20732900249392**** |
| JoinDate |
string |
The time when the RAM user was added to the RAM user group. The time is displayed in UTC. |
2020-10-20T06:57:00Z |
Examples
Success response
JSON format
{
"RequestId": "789FF581-B3C8-43A8-9115-54304B46D05C",
"IsTruncated": true,
"Marker": "EXAMPLE",
"Users": {
"User": [
{
"UserPrincipalName": "test@example.onaliyun.com",
"DisplayName": "test",
"UserId": "20732900249392****",
"JoinDate": "2020-10-20T06:57:00Z"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.