| object | | |
User | object | The information about the user. | |
State | string | The status of the user. Valid values:
- NORMAL: The user is normal.
- DISABLE: The user is disabled.
- DELETE: The user is deleted.
| NORMAL |
CurResultCount | long | The number of rows that are queried on the current day. | 28 |
UserId | string | | 51**** |
LastLoginTime | string | The last point in time when the user logged on to the console. | 2021-11-08 11:26:21 |
MaxResultCount | long | The maximum number of rows that can be queried on the current day. | 10000 |
ParentUid | long | The UID of the Alibaba Cloud account of the user.
Note
An Alibaba Cloud account can contain one or more RAM users.
| 140692647406**** |
RoleIdList | array | | |
RoleIds | integer | The ID of the role that is assigned to the user. Valid values:
- 1: a regular user role.
- 2: a database administrator (DBA) role.
- 3: a DMS administrator role.
- 4: a security administrator role.
- 6: a schema read-only user role.
| 1 |
RoleNameList | array | | |
RoleNames | string | The name of the role that is assigned to the user. Valid values:
- USER: a regular user.
- DBA : a DBA.
- ADMIN: a DMS administrator.
- SECURITY_ADMIN: a security administrator.
- STRUCT_READ_ONLY: a schema read-only user.
| USER |
NickName | string | The nickname of the user. | User_NickName |
MaxExecuteCount | long | The maximum number of queries that can be performed on the current day. | 2000 |
CurExecuteCount | long | The number of queries that are performed on the current day. | 3 |
Mobile | string | The mobile number of the user.
-
The system returns this parameter if the user has set a mobile phone number in the console. To set a mobile phone number in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to Notice.
-
The system does not return this parameter if the user has not set a mobile phone number.
| 1389223**** |
Uid | string | | 22275482072787**** |
Email | string | The email address that is used to receive notifications.
-
The system returns this parameter if the user has set an email address in the console. To set an email address in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to Notice.
-
The system does not return this parameter if the user has not set an email address.
| Uesr_email |
DingRobot | string | The DingTalk chatbot URL that is used to receive notifications.
-
The system returns this parameter if the user has set a DingTalk chatbot URL in the console. To set a DingTalk chatbot URL in the console, move the pointer over the profile picture in the upper-right corner and click the Edit icon next to Notice.
-
The system does not return this parameter if the user has not set a DingTalk chatbot URL.
| https://XXX.dingtalk.com/robot/send?access_token=*** |
Webhook | string | The webhook URL that is used to receive notifications.
-
If the user has set a webhook URL, DMS sends notifications to the specified URL.
-
The system does not return this parameter if the user has not set a webhook URL.
| http://dms-XXX.aliyun.com:8*** |
SignatureMethod | string | The signature method that is used to secure connections when a webhook URL is used. Valid values:
- NONE: no signature.
- HMAC_SHA1: HMAC_SHA1.
| NONE |
NotificationMode | string | The notification method. The system returns one or more values. Valid values:
- SMS: text message
- EMAIL: email.
- DINGDING: DingTalk.
- DINGROBOT: DingTalk chatbot.
- WEBHOOK: webhook.
| EMAIL |
RequestId | string | | 804BB128-CAFA-5DD0-BA1E-43DDE488**** |
ErrorCode | string | | UnknownError |
ErrorMessage | string | The error message returned if the request failed. | Unknown server error |
Success | boolean | Indicates whether the request was successful. Valid values:
- true: The request was successful.
- false: The request fails.
| true |