I have created a team folder structure with subfolder levels and I create these folders with the dropbox api.
Structure
Folder Level 1: Companies
Folder Level 2: Customers
Folder level 3: Projects
For every level folders I set specific users permissions.
Now I would like to copy a Project folder with all files and insert it in the same Customer Folder with a specific folder name and specific users that I should set.
When I use
await dropbox.Files.CopyV2Async(originFolder, destinationFolder, true, true, true)
, it will copy the full folder but the users are the same of the origin folder.
I use the method
await dropbox.Files.GetMetadataAsync(folder)
to retrieve the share folder Id but in this scenario it is Null.
Without share folder Id I cannot insert or remove users from this new folder.
What am i doing wrong?