List the users included in the user group - ListUsersForGroup
Overview
List the users included in the user group
Definition
Public Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is ListUsersForGroup . | Yes |
PublicKey | string | The user's public key can be obtained from Console (opens in a new tab) | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
GroupName | string | User Group Name | Yes |
Limit | string | The number of users within the group to be queried | No |
Offset | string | Start querying from which data entry | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
Users | array[UserForGroup] | User Information Array | Yes |
TotalCount | int | Total | Yes |
Data Model
UserForGroup
Field Name | Type | Description Information | Required |
---|---|---|---|
string | Yes | ||
UserName | string | Username | Yes |
DisplayName | string | Nickname | No |
JoinedAt | int | Timestamp when the user is added to the user group | No |
Example
Request Example
https://api.surfercloud.com/?Action=ListUsersForGroup
&GroupName=KuKDjeCr
&Limit=JQyYOWCO
&Offset=PrpveeyA
Response Example
{
"Action": "ListUsersForGroupResponse",
"Message": "XECMcnes",
"RetCode": 0,
"TotalCount": 8,
"Users": [
{
"CreateAt": 6,
"DisplayName": "nEiDkUhx",
"Email": "yDPYuLBl",
"JoinedAt": "EWhIPVXP",
"Status": "yes",
"UserName": "NWwNBOgF"
}
]
}