Loading...

Last updated: Apr 25 2018

Area: Episerver Campaign Applies to versions: Not applicable

contains

Queries the unsubscribe status of a recipient in Episerver Campaign.

Type: boolean

Parameters

NameTypeValue

sessionId

String

ID of the session

recipientId

String

ID of the recipient

Return values

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

Note: Usually, only one client-wide unsubscribe list exists.

Code structure

boolean contains(String sessionId, String recipientId)

Do you have feedback on this documentation? Send an email to documentation@episerver.com. For development-related questions and discussions, refer to our Forums on https://world.episerver.com/forum/