AWS SDK for .NET Documentation
GetUserPolicyRequest Class
AmazonAmazon.IdentityManagement.ModelGetUserPolicyRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the GetUserPolicy operation.

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#
public class GetUserPolicyRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
GetUserPolicyRequest()()()()
Initializes a new instance of the GetUserPolicyRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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:

Length
1 - 128
Pattern
[\w+=,.@-]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserName
Name of the user who the policy is associated with.

Constraints:

Length
1 - 128
Pattern
[\w+=,.@-]*


WithPolicyName(String)
Sets the PolicyName property

WithUserName(String)
Sets the UserName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 GetUserPolicyRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)