QueryUserInfoByUserId接口用于根据用户ID查询用户信息。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | QueryUserInfoByUserId | 
                               要执行的操作。取值:QueryUserInfoByUserId。  | 
                           
                        
| UserId | String | 是 | fe67f61a35a94b7da1a34ba174a7**** | 
                               用户ID。此处的UserID为Quick BI的UserID,而非阿里云的UID。  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | D787E1A3-A93C-424A-B626-C2B05DF8D885 | 
                               请求ID。  | 
                           
                        
| Result | Struct | 
                               返回的组织用户信息。  | 
                           
                        |
| AccountId | String | 135****5848 | 
                               阿里云账号ID。  | 
                           
                        
| AccountName | String | 1386587****@163.com | 
                               阿里云账号名称。  | 
                           
                        
| AdminUser | Boolean | true | 
                               是否为管理员。取值范围: 
  | 
                           
                        
| AuthAdminUser | Boolean | true | 
                               是否为权限管理员。取值范围: 
  | 
                           
                        
| String | 1386587****@163.com | 
                               邮箱。  | 
                           
                        |
| NickName | String | 测试pop添加用户01 | 
                               昵称。  | 
                           
                        
| Phone | String | 1386587**** | 
                               手机号码。  | 
                           
                        
| UserId | String | fe67f61a35a94b7da1a34ba174a7**** | 
                               Quick BI中的UserID。  | 
                           
                        
| UserType | Integer | 1 | 
                               组织成员的角色类型。取值范围: 
  | 
                           
                        
| Success | Boolean | true | 
                               是否请求成功。取值范围: 
  | 
                           
                        
示例
请求示例
http(s)://quickbi-public.aliyuncs.com/?Action=QueryUserInfoByUserId
&UserId=fe67f61a35a94b7da1a34ba174a7****
&<公共请求参数>
                  正常返回示例
XML格式
                  
<RequestId>D787E1A3-A93C-424A-B626-C2B05DF8D885</RequestId>
<Success>true</Success>
<Result>
    <Email>1386587****@163.com</Email>
    <AccountId>1355*****848</AccountId>
    <UserId>fe67f61a35a94b7da1a34ba174a7****</UserId>
    <Phone>1386587****</Phone>
    <AdminUser>true</AdminUser>
    <NickName>测试pop添加用户01</NickName>
    <UserType>1</UserType>
    <AuthAdminUser>true</AuthAdminUser>
    <AccountName>1386587****@163.com</AccountName>
</Result>
                  JSON格式
                  
{"RequestId":"D787E1A3-A93C-424A-B626-C2B05DF8D885","Success":"true","Result":{"Email":"1386587****@163.com","AccountId":"1355*****848","UserId":"fe67f61a35a94b7da1a34ba174a7****","Phone":"1386587****","AdminUser":"true","NickName":"测试pop添加用户01","UserType":"1","AuthAdminUser":"true","AccountName":"1386587****@163.com"}}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 500 | Instance.Expired | Your instance has expired. | 您的购买实例已经过期。 | 
| 500 | Instance.Not.Exist | The specified instance does not exist. | 暂未匹配到您的购买实例。 | 
| 500 | Access.Forbidden | Access forbidden. Your instance version or access key is not allowed to call the API operation. | 访问被禁止,您的实例版本或者 AccessKey不允许调用该 API。 | 
| 500 | Invalid.Organization | The specified organizational unit does not exist. | 该组织不存在。 | 
| 500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 | 
| 500 | Invalid.Parameter | An error occurred while verifying parameters. | 参数验证失败。 | 
| 500 | Invalid.User.Organization | The user is not in your organization. | 该用户不在您的组织中。 | 
| 500 | UserInfo.Error | The personal information is invalid. | 个人信息不合法。 | 
| 500 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 | 
访问错误中心查看更多错误码。