listUserBenefits()
Overview
public array function listUserBenefits(
required string userId
)
Returns an array of IDs of the supplied user's benefits
See Website users and permissioning for a full guide to website users and permissions.
Arguments
Name | Type | Required | Description |
---|---|---|---|
userId | string | Yes | ID of the user whose benefits we wish to get |