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

Lists the names of the policies associated with the specified user. If there are none, the action returns an empty list.

You can paginate the results using the MaxItems and Marker parameters.

Declaration Syntax
C#
public class ListUserPoliciesRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ListUserPoliciesRequest()()()()
Initializes a new instance of the ListUserPoliciesRequest 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.)
Marker
Use this only when paginating results, and only in a subsequent request after you've received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.

Constraints:

Length
1 - 320
Pattern
[\u0020-\u00FF]*


MaxItems
Use this only when paginating results to indicate the maximum number of policy names you want in the response. If there are additional policy names beyond the maximum you specify, the IsTruncated response element is true.

Constraints:

Range
1 - 1000


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserName
The name of the user to list policies for.

Constraints:

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


WithMarker(String)
Sets the Marker property

WithMaxItems(Int32)
Sets the MaxItems property

WithUserName(String)
Sets the UserName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 ListUserPoliciesRequest
See Also

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