GetUser
Retrieves the information about the specified IAM user.
If you do not specify a user name, IAM determines the user name implicitly based on the MSDP S3 access key ID used to sign the request to this operation.
Request Parameters
For information about the parameters that are common to all actions, See Common Parameters.
UserName
The name of the user to get information about.
This parameter is optional. If it is not included, it defaults to the user making the request.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern: [\w+=,.@-]+
Required: No
Response Elements
The following element is returned by server.
User
A structure with details about the new IAM user.
Type: User object
Errors
For information about the errors that are common to all actions, See Common Error Codes.
NoSuchEntity
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
HTTP Status Code: 404
ServiceFailure
The request processing has failed because of an unknown error, exception, or failure.
HTTP Status Code: 500
Examples
Sample Request:
https://msdps3.veritas.com:8443/?Action=GetUser &UserName=User1 &Version=2010-05-08 &AUTHPARAMS
Sample Response:
<?xml version="1.0" encoding="UTF-8"?>
<GetUserResponse
xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
<ResponseMetadata>
<RequestId>1648191428931182703</RequestId>
</ResponseMetadata>
<GetUserResult>
<User>
<CreateDate>2022-03-25T06:57:08Z</CreateDate>
<UserName>User1</UserName>
</User>
</GetUserResult>
</GetUserResponse>