getFolderContents() Method

In CatalogService, use the getFolderContents() method to get all of the items in a folder.

This method returns the reports and folders contained in the specified folder. You can then use these items to determine what reports you might want to execute or what folders you may want to further search to identify a report.

See CatalogContents for a description of the return object.

Signature

CatalogContents getFolderContents(String folderAbsolutePath, String userID, String password);

Parameters for getFolderContents() Method

Parameter Description

String folderAbsolutePath

The path to the folder for which to retrieve the contents. For example: /HR Manager/Employee Reports/

String userID

Specifies the user name.

String password

Specifies the password for the user name.