Signature
global static List<String> createMicrosoftTeam( List<Types.CreateMicrosoftTeamInput> inputs, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
inputs |
required | List of Types.CreateMicrosoftTeamInput — one entry per team 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<String>
Example
List<cldfs.Types.CreateMicrosoftTeamInput> input = new List<cldfs.Types.CreateMicrosoftTeamInput>{ new cldfs.Types.CreateMicrosoftTeamInput( 'CloudFiles', 'Team for managing all activities related to Account XYZ', null, null )}; List<String> newMSTeamIds = cldfs.Client.createMicrosoftTeam(input, 'integrationUser');