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.
Notes:
suppressAuth
option is set to true
, all permissions are overwritten, and all site members (including non-group members) can see a list of a site member's memberships.null
as a placeholder for any unspecified parameters. For example, to specify limit
only, call listMemberships(memberId, paging, null)
. To specify supressAuth
only, call listMemberships(memberId, null, options)
.
Site member ID.
Paging options.
Authorization options.