Signature
global static List<Dataroom> createDatarooms( List<Types.CreateDataroomInput> dataroomInputs, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
dataroomInputs |
required | List of Types.CreateDataroomInput; one entry per dataroom to create. |
runAsString |
required | Email Id of the user on whose behalf the function should run. To run the action as the automation user, supply integrationUser. |
Return Type
List<Dataroom>
Example
List<cldfs.Types.CreateDataroomInput> dataroomInputs = new List<cldfs.Types.CreateDataroomInput>{ new cldfs.Types.CreateDataroomInput('Dataroom - 01', 'Test Dataroom') }; List<cldfs.Dataroom> dataroom = cldfs.Client.createDatarooms(dataroomInputs, 'integrationUser');