Obtains the detailed information about a RAM user.


Use API Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes GetUser

The name of this action.

Value: GetUser

UserName String Yes Alice

The username. It must be 1 to 64 characters in length.

Pattern: ^[a-zA-Z0-9\.@\-_]+$

Response parameters

Parameter Type Example value Description
RequestId String 2D69A58F-345C-4FDE-88E4-BF5189484043 The request ID.
User N/A N/A The RAM user information.
Comments String This is a cloud computing engineer. The comment.
CreateDate String 2015-01-23T12:33:18Z The date and time when the RAM user was created.
DisplayName String Alice The display name.
Email String alice@example.com The email address of the RAM user.
LastLoginDate String 2015-01-23T12:33:18Z The date and time when the user last logged on to the RAM console by using the password.
MobilePhone String 86-1860000**** The mobile phone number of the RAM user.
UpdateDate String 2015-02-11T03:15:21Z The date and time when the user information was modified.
UserId String 122748924538**** The ID of the RAM user.
UserName String Alice The username.


Request example

&<Common parameters>

Response example

XML format

    <Comments>This is a cloud computing engineer.</Comments>

JSON format

        "Comments":"This is a cloud computing engineer.",


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