Skip to content

GetParticipantTicket

Generates a login ticket for the specified participant.

1
$Membership.GetParticipantTicket(participant: `Email` : string

Email address of participant

Language : string
The participant's preferred language.

Name : string
Name of the participant., accessScope: string):string

Parameters

Email : string
Email address of participant

Language : string
The participant's preferred language.

Name : string
Name of the participant. participant
    Participant information.

string accessScope
    The name of the access scope.

Returns

A login token for the participant.

Remarks

This method is only available within workflow instance scopes and requires a $Instance object to be available.

The accessScope parameter specifies the name of an access scope defined in the process definition. If the specified access scope is not found, an exception is thrown.

Example

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

See Also