AddUserGroupMember接口用于将组织成员添加到指定的用户组。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | AddUserGroupMember | 
                               要执行的操作。取值:AddUserGroupMember。  | 
                           
                        
| UserGroupId | String | 是 | 555c4cd**** | 
                               用户组ID。  | 
                           
                        
| UserIdList | String | 是 | 46e537a5****,3dadsu**** | 
                               用户ID,可输入多个,以英文逗号(,)分隔,例如:abc,efg。最多可输入1000条。 注意:此处的用户ID为 Quick BI的UserID,而非阿里云的UID。  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | 46e537a5****,3dadsu**** | 
                               请求 ID。  | 
                           
                        
| Result | Boolean | true | 
                               返回添加用户组成员的结果。取值范围: 
  | 
                           
                        
| Success | Boolean | true | 
                               是否请求成功。取值范围: 
  | 
                           
                        
示例
请求示例
http(s)://quickbi-public.aliyuncs.com/?Action=AddUserGroupMember
&UserGroupId=555c4cd****
&UserIdList=46e537a5****,3dadsu****
&公共请求参数
                  正常返回示例
XML格式
                  
HTTP/1.1 200 OK
Content-Type:application/xml
<AddUserGroupMemberResponse>
    <RequestId>46e537a5****,3dadsu****</RequestId>
    <Result>true</Result>
    <Success>true</Success>
</AddUserGroupMemberResponse>
                  JSON格式
                  
HTTP/1.1 200 OK
Content-Type:application/json
{
  "RequestId" : "46e537a5****,3dadsu****",
  "Result" : true,
  "Success" : true
}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 500 | Invalid.Parameter | An error occurred while verifying parameters. | 参数验证失败。 | 
| 500 | Invalid.User | The user does not exist and cannot be added to a user group. | 用户不存在,无法将其添加到用户组。 | 
| 500 | User.Not.In.Organization | The specified user is not in the organizational unit. | 该用户不在组织中。 | 
| 500 | Usergroup.Not.Exist | The user group does not exist. | 用户组不存在。 | 
| 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 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 | 
| 500 | Parameter.Length.Exceed | Parameter length exceeds maximum limit: [%s]. | 参数长度超过限制:%s。 | 
访问错误中心查看更多错误码。