queryMemberships( )


Retrieves a list of up to 100 members and their membership status, given the provided paging and filtering.

The queryMemberships function returns a Promise that resolves to a list of memberships.

Note: Site members can only query their own memberships.

PropertySupported Filters & Sorting
statuseq(), ne()
roleeq(), ne()
Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Method Declaration
Copy
Method Parameters
memberIdstringRequired

Site member ID.


optionsQueryMembershipsOptions
Returns
Return Type:Promise<QueryMembershipsResponse>
Was this helpful?
Yes
No