Membuat kelompok pengguna. Anda dapat menentukan kelompok pengguna induk.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:QueryUserInfoByAccount |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Account |
string |
Yes |
ID unik kelompok pengguna.
|
1386587****@163.com |
| ParentAccountName |
string |
No |
Nama kelompok pengguna.
|
zhangsan@test.onaliyun.com |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
D787E1A3-A93C-424A-B626-C2B05DF8D885 |
| Result |
object |
The ID of the added user group is returned. An empty string '' is returned if the add fails. |
|
| AccountId |
string |
The ID of the Alibaba Cloud account. |
135****5848 |
| AccountName |
string |
The name of the Alibaba Cloud account that corresponds to the member. (If you use a RAM user, the domain name information that follows @ is removed. For example, if you use a test@test.com, test is returned.) |
1386587****@163.com |
| AdminUser |
boolean |
Whether you are an administrator of the organization. Valid values:
|
true |
| AuthAdminUser |
boolean |
Whether you are a permission administrator. Valid values:
|
true |
|
string |
The email address of the user. |
1386587****@163.com |
|
| NickName |
string |
The nickname of the account. |
测试用户 |
| Phone |
string |
The phone number of the alert contact. |
1386587**** |
| RoleIdList |
array |
List of organization role IDs bound to the user. |
|
|
integer |
Organization role IDs, up to 3, including but not limited to the pre-defined organization roles:
|
111111111 |
|
| UserId |
string |
The UserID in the Quick BI. |
fe67f61a35a94b7da1a34ba174a7**** |
| UserType |
integer |
The role type of the organization member. Valid values:
|
1 |
| CopilotModules |
array |
||
|
string |
qreport |
||
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D787E1A3-A93C-424A-B626-C2B05DF8D885",
"Result": {
"AccountId": "135****5848",
"AccountName": "1386587****@163.com",
"AdminUser": true,
"AuthAdminUser": true,
"Email": "1386587****@163.com",
"NickName": "测试用户",
"Phone": "1386587****",
"RoleIdList": [
111111111
],
"UserId": "fe67f61a35a94b7da1a34ba174a7****",
"UserType": 1,
"CopilotModules": [
"qreport"
]
},
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | User.Duplicative | Duplicate users found with account name : %s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.