Editing 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 explains how attendee details can be modified using the API.

 

[C#]

 

using CMS.EventManager;

 

int eventNodeId = 10;

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

 

// Get attendee info object

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

 

// Update its properties

eai.AttendeeFirstName += "_Updated";

 

// Save the object

EventAttendeeInfoProvider.SetEventAttendeeInfo(eai);

 

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