Hide A Child Folder Using The API

By utilizing the folder logic within Roles, you can control the folders that users have access to.

Before:

In this example we will be hiding the folder named 'Child Folder'.

Code:

The following is a breakdown of each line:

After:

'Child Folder' no longer appears inside 'Parent Folder'

Note: Setting 'Include All Folders' to false will have a reverse effect and cause only the specified folder to display. The permissions of parent folders will be inherited by all child folders.