Signature
global static void moveResources( List<Types.MoveResourceInput> inputs, String library, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
inputsList<Types.MoveResourceInput> |
required | List of Types.MoveResourceInput objects; one entry per resource to move. |
libraryString |
required | Type of library. Example: sharepoint. 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.MoveResourceInput> inputs = new List<cldfs.Types.MoveResourceInput>{ new cldfs.Types.MoveResourceInput( '67ef8a5bd98d18e317d0891d', 'file', 'workspace', '68887db5ef0b3ca7534dbbd5' ) }; cldfs.Client.moveResources(inputs, 'cloudfiles', 'integrationUser');