listMemberships( )


Lists all group memberships of a site member.

The listMemberships() function returns a Promise that resolves to a list of up to 100 group memberships. Sorts by default to groupId in descending order.

Note: Only site admins can retrieve a site member's memberships. Site members can see a list of their memberships.

Method Declaration
Copy
Method Parameters
memberIdstringRequired

Site member ID.


optionsListMembershipsOptions

Paging options.

Returns
Return Type:Promise<ListMembershipsResponse>
Did this help?