ListGroupMembershipsForMember
Source:
src/AWS/IdentityCenter/ListGroupMembershipsForMember.ts
Runtime binding for the ListGroupMembershipsForMember operation (IAM action
identitystore:ListGroupMembershipsForMember), scoped to one Instance.
Lists every group a user belongs to in the bound instance’s identity store, one page per call (NextToken paginates). The instance’s
IdentityStoreId is injected from the binding. Provide the implementation with
Effect.provide(AWS.IdentityCenter.ListGroupMembershipsForMemberHttp).
Querying Group Memberships
Section titled “Querying Group Memberships”// init — bind the operation to the Identity Center instanceconst listGroupMembershipsForMember = yield* AWS.IdentityCenter.ListGroupMembershipsForMember(instance);
// runtimeconst { GroupMemberships } = yield* listGroupMembershipsForMember({ MemberId: { UserId: userId },});