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

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

addAll

Adds multiple entries to the blocklist in Optimizely Campaign.

See also add.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
entryString[ ]Entries (for example, email addresses) to be blocked (can contain wildcards like ? or *)
reasonString[ ]Reasons for each blocklist entry (optional)

Return values

  • Code structure

    void addAll(String sessionId, String[] entries, String[] reasons)