Removing an attendee

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

This code example shows how an attendee can be removed from a booking system event.

 

[C#]

 

using CMS.EventManager;

 

int eventNodeId = 10;

string email = "john.smith@example.com";

 

// Get attendee info object

EventAttendeeInfo eai = EventAttendeeInfoProvider.GetEventAttendeeInfo(eventNodeId, email);

 

// Delete the attendee object

EventAttendeeInfoProvider.DeleteEventAttendeeInfo(eai);

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?api_removing_an_attendee.htm