Bir kullanıcı hakkındaki bilgileri sorgular.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetUser |
get |
*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*** |
| Uid |
string |
No |
Alibaba Cloud hesabının UID'si. Data Management (DMS) konsolunun sağ üst köşesindeki profil resminin üzerine gelerek UID'nizi görüntüleyebilirsiniz. |
22973492647626**** |
| UserId |
string |
No |
Kullanıcının kimliği. Kullanıcının kimliğini sorgulamak için ListUsers işlemini çağırabilirsiniz. |
51**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| User |
object |
Kullanıcı hakkındaki bilgiler. |
|
| State |
string |
Kullanıcının durumu. Geçerli değerler:
|
NORMAL |
| CurResultCount |
integer |
Cari günde sorgulanan satır sayısı. |
28 |
| UserId |
string |
Kullanıcının kimliği. |
51**** |
| LastLoginTime |
string |
Kullanıcının konsola en son giriş yaptığı zaman. |
2021-11-08 11:26:21 |
| MaxResultCount |
integer |
Cari günde sorgulanabilecek maksimum satır sayısı. |
10000 |
| ParentUid |
integer |
Kullanıcının Alibaba Cloud hesabının UID'si. Not
Bir Alibaba Cloud hesabı bir veya daha fazla RAM kullanıcısı içerebilir. |
140692647406**** |
| RoleIdList |
object |
||
| RoleIds |
array |
Rol kimliklerinin listesi. |
|
|
integer |
Kullanıcıya atanan rolün kimliği. Geçerli değerler:
|
1 |
|
| RoleNameList |
object |
||
| RoleNames |
array |
Rol adlarının listesi. |
|
|
string |
Kullanıcıya atanan rolün adı. Geçerli değerler:
|
USER |
|
| NickName |
string |
Kullanıcının takma adı. |
User_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ı. |
3 |
| Mobile |
string |
Kullanıcının cep telefonu numarası. Not
|
1389223**** |
| Uid |
string |
Kullanıcının UID'si. |
22275482072787**** |
|
string |
Bildirimleri almak için kullanılan e-posta adresi. Not
|
Uesr_email |
|
| DingRobot |
string |
Bildirimleri almak için kullanılan DingTalk sohbet robotu URL'si. Not
|
https://XXX.dingtalk.com/robot/send?access_token=*** |
| 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üvence altına almak için kullanılan imza yöntemi. Geçerli değerler:
|
NONE |
| NotificationMode |
string |
Bildirim yöntemi. Sistem bir veya daha fazla değer döndürür. Geçerli değerler:
|
|
| RequestId |
string |
İsteğin kimliği. |
804BB128-CAFA-5DD0-BA1E-43DDE488**** |
| ErrorCode |
string |
Hata kodu. |
UnknownError |
| ErrorMessage |
string |
İstek başarısız olduğunda döndürülen hata mesajı. |
Unknown server error |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
true |
Examples
Success response
JSON format
{
"User": {
"State": "NORMAL",
"CurResultCount": 28,
"UserId": "51****",
"LastLoginTime": "2021-11-08 11:26:21",
"MaxResultCount": 10000,
"ParentUid": 0,
"RoleIdList": {
"RoleIds": [
1
]
},
"RoleNameList": {
"RoleNames": [
"USER"
]
},
"NickName": "User_NickName",
"MaxExecuteCount": 2000,
"CurExecuteCount": 3,
"Mobile": "1389223****",
"Uid": "22275482072787****",
"Email": "Uesr_email",
"DingRobot": "https://XXX.dingtalk.com/robot/send?access_token=***",
"Webhook": "http://dms-XXX.aliyun.com:8***",
"SignatureMethod": "NONE",
"NotificationMode": "EMAIL"
},
"RequestId": "804BB128-CAFA-5DD0-BA1E-43DDE488****",
"ErrorCode": "UnknownError",
"ErrorMessage": "Unknown server error",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.