Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide
NuGetDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

containsAll

Queries whether multiple recipients are contained in an unsubscribe list in Optimizely Campaign.

Type: Boolean[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
recipientIdsString[ ]IDs of the recipients

Return values

For each recipient:

  • true: Recipient is found on at least one unsubscribe list
  • false: Recipient is not found on any unsubscribe list

Code structure

boolean[] containsAll(String sessionId, String[] recipientIds)

Did this page help you?