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

NameTypeRequiredDescription
userIdstringYesID of the user whose benefits we wish to get