docs
api
Account Management(UAccount)
describe_member_list

Get Member List - DescribeMemberList

Overview

Retrieve member list, for main account use only.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeMemberList.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID, please refer to the GetProjectList interface. If not filled in, all projects will be queried.No
OffsetstringOffset of the member list, default is 0No
LimitstringThe maximum number of members in the list, default is 200No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
MemberSetarray[MemberInfo]Instance list of members in JSON formatYes
TotalCountintTotal Number of MembersYes

Data Model

MemberInfo

Field NameTypeDescription InformationRequired
MemberEmailstringMember EmailYes
MemberPhonestringMember MobileYes
MemberNamestringMember NameYes
MemberPositionstringMember AddressYes
MemberQQstringMember QQYes
PublicKeystringPublic KeyYes
LastRegionIdstringLast visited data centerYes
DefultProjectIdstringDefault ProjectYes
LastLoginintLast Login TimeYes
CreatedintCreation TimeYes
StatestringStatusYes
IsAdminintIs it the main account? (0: Sub-account, 1: Main account)Yes
IsFinanceintDoes it have financial permissions? (0: No financial permissions, 1: Has financial permissions)Yes
ProjectSetarray[ProjectInfo]Project ListYes
ActivateFlagintActivation Status (0: Not Activated, 1: Activated)Yes
PasswordPolicyDateintPassword security policy activation time, format: unix timestampYes
TOTPStatusintTOTP Status (0: Not Enabled, 1: Enabled)Yes

ProjectInfo

Field NameTypeDescription InformationRequired
ProjectIdstringProject ID, please refer to the GetProjectList interfaceYes
ProjectNamestringProject NameYes
CharacterIdstringRole IDYes

Example

Request Example

https://api.surfercloud.com/?Action=DescribeMemberList
&ProjectId=gVhmRqSF
&Offset=0
&Limit=10

Response Example

{
  "Action": "DescribeMemberListResponse",
  "MemberSet": [
    {
      "ActivateFlag": 1,
      "Created": 1524125597,
      "DefultProjectId": "bjwoig",
      "IsAdmin": 1,
      "IsFinance": 0,
      "LastLogin": 0,
      "LastRegionId": "cn-east-04",
      "MemberEmail": "test1@ucloud.cn",
      "MemberName": "LGwo4hy",
      "MemberPhone": "(86)12345678901",
      "MemberPosition": "lBHo2",
      "MemberQQ": "BHow3",
      "PasswordPolicyDate": 0,
      "ProjectSet": [
        {
          "CharacterId": "Lbhi2bw",
          "ProjectId": "fzzfcBg1",
          "ProjectName": "gejaE45"
        }
      ],
      "PublicKey": "BLihwFHoiyo24ihyLIBHFOIWRgho24yosihdlh+=",
      "State": "Normal",
      "TOTPStatus": 0
    },
    {
      "ActivateFlag": 1,
      "Created": 1524125597,
      "DefultProjectId": "Bliwhe",
      "IsAdmin": 1,
      "IsFinance": 0,
      "LastLogin": 0,
      "LastRegionId": "cn-east-03",
      "MemberEmail": "test2@ucloud.cn",
      "MemberName": "xnwo33y",
      "MemberPhone": "(86)12345678902",
      "MemberPosition": "LBho2",
      "MemberQQ": "BHJowf",
      "PasswordPolicyDate": 0,
      "ProjectSet": [
        {
          "CharacterId": "gwhoeigh",
          "ProjectId": "BHOWIlgho",
          "ProjectName": "woihgoBH"
        }
      ],
      "PublicKey": "xLihwFHoiyo114gyLBWOHFOIWRgho24yosi23dl42BSk",
      "State": "Normal",
      "TOTPStatus": 0
    }
  ],
  "RetCode": 0,
  "TotalCount": 2
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved