Skip to content

EnsureParticipant

Ensures that the specified email address is saved as a participant identity. If a participant with the given email already exists, it is returned instead of creating a new one.

1
$Membership.EnsureParticipant(participant: ParticipantInfo):Identity

Parameters

ParticipantInfo participant
    The e-mail address, name and language of the participant.

Returns

The created or existing participant Identity.

Examples

Register an external participant

1
2
3
4
5
var participant = $Membership.EnsureParticipant({
    Email : '[email protected]',
    Name : 'John Doe',
    Language : 'en'
});

See Also