GetFoldersByParentIds Method
Gets the sub-folders of a set of parent folders.
Required Permissions
FolderReadSyntax
public FolderArray[] GetFoldersByParentIds(
System.long[] parentFolderIds,
System.bool recurse
)Public Function GetFoldersByParentIds( _
ByVal parentFolderIds() As System.Long, _
ByVal recurse As System.Boolean _
) As FolderArray()Parameters
| Name | Description |
|---|---|
| parentFolderIds | The parent folders. |
| recurse | If true, all sub-folders N levels deep will be returned. If false only the immediate children are returned. |
Return Value
An array sub-folder array of all the sub-folders. Each element in the array contains the child folders of the folder specified in parentFolderIds at the same index.