AWS SDK for .NET Documentation
GetUserPolicy Method (request)
Amazon ► Amazon.IdentityManagement ► AmazonIdentityManagementService ► GetUserPolicy(GetUserPolicyRequest)
Did this page help you? Yes No Tell us about it...
Retrieves the specified policy document for the specified user. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
Declaration Syntax

C#

    GetUserPolicyResponse GetUserPolicy(
    	GetUserPolicyRequest request
    )

Parameters

request (GetUserPolicyRequest)
  Container for the necessary parameters to execute the GetUserPolicy service method.

Return Value
The response from the GetUserPolicy service method, as returned by IdentityManagementService.
Exceptions

Exception | Condition
--- | ---
NoSuchEntityException | The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)