NotifyNow - kick(GlideRecord participant)

Removes a participant from a conference call.

Table 1. Parameters
Name Type Description
participant GlideRecord The conference call participant to remove from the call.
Table 2. Returns
Type Description
Boolean True if the participant was removed, otherwise false.

var participantId = "<participant sys_id>";
var participant = new GlideRecord('notifynow_participant');
if (participant.isValid()) {
     // kick participant
     result = new SNC.NotifyNow().kick(participant);
     gs.log('participant kicked: ' + result);