Signature
global static void copyResources( List<Types.CopyResourceInput> inputs, String library, String driveId, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
inputsList<Types.CopyResourceInput> |
required | List of Types.CopyResourceInput objects, one per resource to copy. |
libraryString |
required | Type of library. Example: sharepoint. You can get this value from the Content Library. |
driveIdString |
optional | Only applicable for sharepoint and google libraries. Id of the drive in the library. You can get this value from the Content Library. |
runAsString |
optional | Email Id of the user on whose behalf the function should run. To run the action as the automation user, supply integrationUser. |
Return Type
void
Example
List<cldfs.Types.CopyResourceInput> inputs = new List<cldfs.Types.CopyResourceInput>{ new cldfs.Types.CopyResourceInput( '673f9fa0551db2164a42e392', '6761bc5d7e748db3f896e416', 'workspace' ) }; cldfs.Client.copyResources( inputs, 'cloudfiles', 'workspace', 'integrationUser' );