获取成员列表-DescribeMemberList
获取成员列表,限主账号使用。
Request Parameters
Parameter name | Type | Description | Required |
ProjectId | string | 项目ID,请参考GetProjectList接口。不填写为查询所有项目。 | No |
Offset | string | 成员列表的偏移量,默认为0 | No |
Limit | string | 成员列表的最大数量,默认为200 | No |
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
MemberSet | array | JSON格式的成员列表实例 | Yes |
TotalCount | int | 成员总数 | Yes |
MemberInfo
Parameter name | Type | Description | Required |
MemberEmail | string | 成员邮箱 | Yes |
MemberPhone | string | 成员手机 | Yes |
MemberName | string | 成员名字 | Yes |
MemberPosition | string | 成员地址 | Yes |
MemberQQ | string | 成员QQ | Yes |
PublicKey | string | 公钥 | Yes |
LastRegionId | string | 最后访问的机房 | Yes |
DefultProjectId | string | 默认项目 | Yes |
LastLogin | int | 最后一次登录时间 | Yes |
Created | int | 创建时间 | Yes |
State | string | 状态 | Yes |
IsAdmin | int | 是否主账号(0:子账号,1:主账号) | Yes |
IsFinance | int | 是否有财务权限(0:无财务权限,1:有财务权限) | Yes |
ProjectSet | array | 项目列表 | Yes |
ActivateFlag | int | 激活状态(0:未激活,1:已激活) | Yes |
PasswordPolicyDate | int | 密码安全策略开启时间,格式:unix timestamp | Yes |
TOTPStatus | int | TOTP状态(0:未开启,1:已开启) | Yes |
ProjectInfo
Parameter name | Type | Description | Required |
ProjectId | string | 项目ID,请参考GetProjectList接口 | Yes |
ProjectName | string | 项目名 | Yes |
CharacterId | string | 角色ID | Yes |
Request Example
https://api.ucloud.cn/?Action=DescribeMemberList &ProjectId=gVhmRqSF &Offset=0 &Limit=10
Response Example
{ "MemberSet": [ { "MemberEmail": "test1@ucloud.cn", "MemberPhone": "(86)12345678901", "MemberName": "LGwo4hy", "MemberPosition": "lBHo2", "MemberQQ": "BHow3", "PublicKey": "BLihwFHoiyo24ihyLIBHFOIWRgho24yosihdlh+=", "LastRegionId": "cn-east-04", "DefultProjectId": "bjwoig", "LastLogin": 0, "Created": 1524125597, "State": "Normal", "IsAdmin": 1, "IsFinance": 0, "ProjectSet": [ { "ProjectId": "fzzfcBg1", "ProjectName": "gejaE45", "CharacterId": "Lbhi2bw" } ], "ActivateFlag": 1, "PasswordPolicyDate": 0, "TOTPStatus": 0 }, { "MemberEmail": "test2@ucloud.cn", "MemberPhone": "(86)12345678902", "MemberName": "xnwo33y", "MemberPosition": "LBho2", "MemberQQ": "BHJowf", "PublicKey": "xLihwFHoiyo114gyLBWOHFOIWRgho24yosi23dl42BSk", "LastRegionId": "cn-east-03", "DefultProjectId": "Bliwhe", "LastLogin": 0, "Created": 1524125597, "State": "Normal", "IsAdmin": 1, "IsFinance": 0, "ProjectSet": [ { "ProjectId": "BHOWIlgho", "ProjectName": "woihgoBH", "CharacterId": "gwhoeigh" } ], "ActivateFlag": 1, "PasswordPolicyDate": 0, "TOTPStatus": 0 } ], "TotalCount": 2, "RetCode": 0, "Action": "DescribeMemberListResponse" }