DatStat Illume 4.5 SDK Class Reference

WebServiceContext.ImportParticipants Method (SDK_ParticipantList, Stream, Boolean, Boolean, Boolean, SDK_Participant[]&, Boolean)

The update parameter dictates what happens if a collision is found for this overload method.

public SDK_Participant[] ImportParticipants(
   SDK_ParticipantList list,
   Stream stream,
   Boolean lastFirstNameUnique,
   Boolean emailUnique,
   Boolean customIdUnique,
   ref SDK_Participant[]& collisions,
   Boolean update
);

Parameters

list
The SDK_ParticipantList the participants will be imported to.
stream
The stream pointing to the tab-delimited file containing the participant data.
lastFirstNameUnique
Boolean value indicating if the full name of the participant should be checked for uniqueness.
emailUnique
Boolean value indicating if the email address should be checked for uniqueness.
customIdUnique
Boolean value indicating if the custom id should be checked for uniqueness.
collisions
Ref parameter that will contain an array of SDK_Participant if there are any collisions.
update
Dictates what to do when collisions are found. If set to true, the existing participant will be updated with the new information. If set to false, the method will throw.

Return Value

SDK_Participant[]

Remarks

If a collision is found, one of two things will happen. If the parameter update is set to true, the system will try to update the existing participant with the values you have provided. If update is false, the method will throw. In either case, the collisions will be returned by the incoming ref parameter collisions. It is possible for more than one participant to be returned if update is specified as true and there is more then one collision.

See Also

WebServiceContext Class | DatStat.SDK.WebServiceWrappers Namespace | WebServiceContext.ImportParticipants Overload List