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

Returns

The created or existing participant Identity.

Remarks

Example

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

See Also