Adds a RAM user to a RAM user group.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddUserToGroup

The operation that you want to perform. Set the value to AddUserToGroup.

GroupName String Yes Test-Team

The name of the RAM user group.

UserPrincipalName String Yes

The logon name of the RAM user.

Response parameters

Parameter Type Example Description
RequestId String 85836703-8D4F-485F-9726-4D1C730F957E

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "85836703-8D4F-485F-9726-4D1C730F957E"

Error codes

For a list of error codes, visit the API Error Center.