FindFoldersByPaths Method
Gets a list of Folder objects based on their paths.
Required Permissions
FolderReadSyntax
public Folder[] FindFoldersByPaths(
System.string[] paths
)Public Function FindFoldersByPaths( _
ByVal paths() As System.String _
) As Folder()Parameters
| Name | Description |
|---|---|
| paths | A list of paths in the vault. Example: $/Folder1/Folder2 |
Return Value
A list of Folder objects. Each element in the array corresponds to the path in the input array. The ID of a folder will be -1 if the input path was not found in the Vault.
Remarks
If a path is not found, the corresponding Folder object that is returned will have an ID if -1.