Container for the parameters to the GetUserPolicy operation.
Namespace: Amazon.IdentityManagement.ModelRetrieves 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.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class GetUserPolicyRequest : AmazonWebServiceRequest
Public Class GetUserPolicyRequest _ Inherits AmazonWebServiceRequest
public ref class GetUserPolicyRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| GetUserPolicyRequest()()()() | Initializes a new instance of the GetUserPolicyRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| PolicyName |
Name of the policy document to get.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| UserName |
Name of the user who the policy is associated with.
Constraints: | |
| WithPolicyName(String) |
Sets the PolicyName property
| |
| WithUserName(String) |
Sets the UserName property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..GetUserPolicyRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.IdentityManagement.Model..::..GetUserPolicyRequest