It the managed folder is partitioned, you can pass a partition identifier
dkuManagedFolderPartitionPaths(name, partition = NULL)
the identifier of the managed folder
The partition identifier. If given, only the paths of this partition will be returned. If not given, all paths in the managed folder are returned.
The paths within the managed folder of the files (either all or files matching the partition)