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 |
get |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupName |
string |
No |
The name of the RAM user group. |
Dev-Team |
| Marker |
string |
No |
The |
EXAMPLE |
| MaxItems |
integer |
No |
The number of entries to return. If a response is truncated because it reaches the value of Valid values: 1 to 1000. Default value: 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4B450CA1-36E8-4AA2-8461-86B42BF4CC4E |
| IsTruncated |
boolean |
Indicates whether the response is truncated. |
true |
| Marker |
string |
The marker. This parameter is returned only if the value of |
EXAMPLE |
| Users |
object |
||
| User |
array<object> |
The information about the RAM users. |
|
|
object |
The information about the RAM user. |
||
| DisplayName |
string |
The display name of the RAM user. |
Alice |
| JoinDate |
string |
The time when the RAM user joined the RAM user group. |
2015-01-23T12:33:18Z |
| UserName |
string |
The name of the RAM user. |
Alice |
Examples
Success response
JSON format
{
"RequestId": "4B450CA1-36E8-4AA2-8461-86B42BF4CC4E",
"IsTruncated": true,
"Marker": "EXAMPLE",
"Users": {
"User": [
{
"DisplayName": "Alice",
"JoinDate": "2015-01-23T12:33:18Z",
"UserName": "Alice"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.