DatStat Illume 4.5 SDK Class Reference

WebServiceContext.UpdateParticipant Method 

This method can be used to update the information for a given participant. The changes are reflected in the returned SDK_Participant object.

public SDK_Participant UpdateParticipant(
   SDK_ParticipantList list,
   SDK_Participant p,
   Boolean lastFirstNameUnique,
   Boolean emailUnique,
   Boolean customIdUnique
);

Parameters

list
SDK_ParticipantList that the participant belongs to.
p
SDK_Participant object that will be used to update the] participant data in the participant list.
lastFirstNameUnique
Boolean indicating if the participant full name should be checked for uniqueness.
emailUnique
Boolean indicating if the email address should be checked for uniqueness.
customIdUnique
Boolean indicating if the custom id should be checked for uniqueness.

Return Value

SDK_Participant

Remarks

To use this method successfully, the SDK_Participant should first be retrieved by calling the GetParticipant method. The three boolean values lastFirstNameUnique, emailUnique, and customIdUnique are used to tell the system which values you want a uniqueness check to be performed on during the update. For example, if you want every participant in the list to have a unique email address, you would specify that emailUnique is true. If the update will result in a duplicate, the update will fail.

If there is an error during the update, an exception will be thrown with an appropriate error message.

See Also

WebServiceContext Class | DatStat.SDK.WebServiceWrappers Namespace