NotifyNow - kick(GlideRecord participant)

Remove 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');
participant.get(participantId);
if (participant.isValid()) {
     // kick participant
     result = new SNC.NotifyNow().kick(participant);
     gs.log('participant kicked: ' + result);
}