AWS SDK for .NET Documentation
ListGroupsForUserRequest Class
AmazonAmazon.IdentityManagement.ModelListGroupsForUserRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the ListGroupsForUser operation. Lists the groups the specified user belongs to.

You can paginate the results using the

CopyC#
MaxItems
and
CopyC#
Marker
parameters.

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



IconMemberDescription
ListGroupsForUserRequest()()()()
Initializes a new instance of the ListGroupsForUserRequest 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
Gets and sets the property 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

CopyC#
Marker
element in the response you just received.


MaxItems
Gets and sets the property MaxItems.

Use this only when paginating results to indicate the maximum number of groups you want in the response. If there are additional groups beyond the maximum you specify, the

CopyC#
IsTruncated
response element is
CopyC#
true
. This parameter is optional. If you do not include it, it defaults to 100.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserName
Gets and sets the property UserName.

The name of the user to list groups for.


WithMarker(String) Obsolete.
Sets the Marker property

WithMaxItems(Int32) Obsolete.
Sets the MaxItems property

WithUserName(String) Obsolete.
Sets the UserName property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 ListGroupsForUserRequest

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