List Group Memberships for Member
| identitystore_list_group_memberships_for_member | R Documentation |
For the specified member in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form¶
Description¶
For the specified member in the specified identity store, returns the
list of all GroupMembership objects and returns results in paginated
form.
If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.
Usage¶
Arguments¶
IdentityStoreId[required] The globally unique identifier for the identity store.
MemberId[required] An object that contains the identifier of a group member. Setting the
UserIDfield to the specific identifier for a user indicates that the user is a member of the group.MaxResultsThe maximum number of results to be returned per request. This parameter is used in the
list_usersandlist_groupsrequests to specify how many results to return in one page. The length limit is 50 characters.NextTokenThe pagination token used for the
list_users,list_groups, andlist_group_membershipsAPI operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.
Value¶
A list with the following syntax:
list(
GroupMemberships = list(
list(
IdentityStoreId = "string",
MembershipId = "string",
GroupId = "string",
MemberId = list(
UserId = "string"
)
)
),
NextToken = "string"
)