addParticipation abstract method

Future<Participation> addParticipation(
  1. String studyDeploymentId,
  2. Set<String> assignedMasterDeviceRoleNames,
  3. AccountIdentity identity,
  4. StudyInvitation invitation,
)

Let the person with the specified identity participate in the study deployment with studyDeploymentId, using the master devices with the specified assignedMasterDeviceRoleNames.

In case no account is associated to the specified identity, a new account is created.

An invitation (and account details) is delivered to the person managing the identity, or should be handed out manually to the relevant participant by the person managing the specified identity.

Implementation

Future<Participation> addParticipation(
  String studyDeploymentId,
  Set<String> assignedMasterDeviceRoleNames,
  AccountIdentity identity,
  StudyInvitation invitation,
);