Adds a user to DMS Enterprise of your enterprise.

DMS enterprise users for administrators (I. E. Users with the administrator role in the product [system management]-[user management]) can add new users to the enterprise through this interface.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes RegisterUser

The operation that you want to perform. Value: RegisterUser .

Tid Long Yes -1

The ID of the tenant.

Note The tenant ID is taken from the tenant ID displayed when you move the pointer on your profile picture. For more information, see View tenant information .
Uid Long Yes 12345678

The Alibaba Cloud unique ID (UID) of the user to add.

UserNick String No dmstest

The nickname of the user.

RoleNames String No USER,DBA

The user role. Valid values:

  • USER : common user
  • DBA :DBA
  • ADMIN : administrator
  • SECURITY_ADMIN : security administrator
Note If you do not specify this parameter, the value is set to USER by default. You can assign one or more roles to the user. Separate multiple roles with commas (,).
Mobile String No 130000000xx

The phone number of the domain name registrant.

Response parameters

Parameter Type Sample response Description
ErrorCode String 403

Error codes

ErrorMessage String The specified user already exists.

Error message

RequestId String 34E01EDD-6A16-4CF0-9541-C644D1BE01AA

The ID of the request.

Success Boolean true
  • true: The request was successful.
  • false: The request failed.


Sample request

     http(s)://[Endpoint]/? Action=RegisterUser &Tid=-1 &Uid=12345678 &UserNick=dmstest &<common request parameters> 

Sample success responses

XML format

     <RegisterUserResponse> <RequestId>ADE24A7C-DB8B-4D32-94AD-E50E3B921197</RequestId> <Success>true</Success> </RegisterUserResponse> 


     { "RequestId": "34E01EDD-6A16-4CF0-9541-C644D1BE01AA", "Success": true } 

Error codes

For more information about error codes, see error center.