Kullanıcıların ayrıntılarını sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListUsers |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
Kiracının kimliği. Kiracı kimliğini almak için GetUserActiveTenant işlemini çağırabilirsiniz. |
3*** |
| Role |
string |
No |
Kullanıcıya atanan rol. Geçerli değerler:
Not
Rolünüzü kontrol etmek için DMS konsolunun sağ üst köşesindeki profil resminin üzerine gelin. |
DBA |
| UserState |
string |
No |
Kullanıcının durumu. Geçerli değerler:
|
NORMAL |
| SearchKey |
string |
No |
Arama anahtar kelimesi. Bulanık eşleştirme desteklenir. |
test |
| PageNumber |
integer |
No |
Döndürülecek sayfanın numarası. |
1 |
| PageSize |
integer |
No |
Her sayfada döndürülecek giriş sayısı. ** Geçerli değerler: 10, 20, 50 ve 100.**** Varsayılan değer: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
Döndürülen toplam giriş sayısı. |
3 |
| RequestId |
string |
İsteğin kimliği. |
69161997-6030-53BA-A333-DBEC83B732FF |
| ErrorCode |
string |
İstek başarısız olduğunda döndürülen hata kodu. |
InvalidTid |
| ErrorMessage |
string |
İstek başarısız olduğunda döndürülen hata mesajı. |
Specified parameter Tid is not valid. |
| UserList |
object |
||
| User |
array<object> |
Kullanıcıların ayrıntıları. |
|
|
array<object> |
Kullanıcının ayrıntıları. |
||
| State |
string |
Kullanıcının durumu. Geçerli değerler:
|
NORMAL |
| CurResultCount |
integer |
Cari günde sorgulanan satır sayısı. |
0 |
| UserId |
string |
Kullanıcının kimliği. |
8**** |
| LastLoginTime |
string |
Kullanıcının konsolda en son oturum açtığı zaman. |
2021-11-08 13:43:43 |
| MaxResultCount |
integer |
Cari günde sorgulanabilecek maksimum satır sayısı. |
50000 |
| ParentUid |
string |
Kullanıcının Alibaba Cloud hesabının kimliği. |
140692647406**** |
| RoleIdList |
object |
||
| RoleIds |
array |
Rollerin kimlikleri. |
|
|
integer |
Kullanıcıya atanan rolün kimliği. Geçerli değerler:
|
3 |
|
| RoleNameList |
object |
||
| RoleNames |
array |
Rollerin adları. |
|
|
string |
Kullanıcıya atanan rolün adı. Geçerli değerler:
|
ADMIN |
|
| NickName |
string |
Kullanıcının takma adı. |
test_NickName |
| MaxExecuteCount |
integer |
Cari günde gerçekleştirilebilecek maksimum sorgu sayısı. |
2000 |
| CurExecuteCount |
integer |
Cari günde gerçekleştirilen sorgu sayısı. |
0 |
| Mobile |
string |
Kullanıcının cep telefonu numarası. Not
|
1389999**** |
| Uid |
string |
Alibaba Cloud hesabının kimliği. |
167382665015**** |
|
string |
Bildirimleri almak için kullanılan e-posta adresi. Not
|
username@example.com |
|
| DingRobot |
string |
Bildirimleri almak için kullanılan DingTalk sohbet robotu URL'si. Not
|
https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef |
| Webhook |
string |
Bildirimleri almak için kullanılan webhook URL'si. Not
|
http://dms-XXX.aliyun.com:8*** |
| SignatureMethod |
string |
Webhook URL'si kullanıldığında bağlantıları güvenceye almak için kullanılan imza yöntemi. Geçerli değerler:
|
HMAC_SHA1 |
| NotificationMode |
string |
Bildirim yöntemi. Sistem bir veya daha fazla değer döndürür. Geçerli değerler:
|
DINGROBOT |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
true |
Examples
Success response
JSON format
{
"TotalCount": 3,
"RequestId": "69161997-6030-53BA-A333-DBEC83B732FF",
"ErrorCode": "InvalidTid",
"ErrorMessage": "Specified parameter Tid is not valid.",
"UserList": {
"User": [
{
"State": "NORMAL",
"CurResultCount": 0,
"UserId": "8****",
"LastLoginTime": "2021-11-08 13:43:43",
"MaxResultCount": 50000,
"ParentUid": "140692647406****",
"RoleIdList": {
"RoleIds": [
3
]
},
"RoleNameList": {
"RoleNames": [
"ADMIN"
]
},
"NickName": "test_NickName",
"MaxExecuteCount": 2000,
"CurExecuteCount": 0,
"Mobile": "1389999****",
"Uid": "167382665015****",
"Email": "username@example.com",
"DingRobot": "https://XXX.dingtalk.com/robot/send?access_token=9b7a4a562cbe7fcdea9962afac7b9d7b4504d564948083419750f9cafa78e4ef",
"Webhook": "http://dms-XXX.aliyun.com:8***",
"SignatureMethod": "HMAC_SHA1",
"NotificationMode": "DINGROBOT"
}
]
},
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.