doesLoggedInUserHaveBenefits()

Overview

public boolean function doesLoggedInUserHaveBenefits(
      required array benefits
)

Returns true / false depending on whether or not a user has access to any of the supplied benefits

Arguments

NameTypeRequiredDescription
benefitsarrayYesArray of benefit IDs. If the logged in user has any of these benefits, the method will return true