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 will not create new one.

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

Parameters¶

ParticipantInfo participant

Returns¶

Returns the created or existing participant Identity.

Remarks¶

Example¶

1
2
3
4
5
$Membership.EnsureParticipant({
    Email : 'john.doe@gmail.com',
    Name : 'John Doe',
    Language : 'en'
});

Types¶

ParticipantInfo¶

Represents a external participant information.

Email : string
Email address of participant

Language : string
Preferred language of participant

Name : string
Name of participant

See Also¶