ListFolders Method
Lists the folders found in the parent folder.
Object Oriented Interface
public function doListFolders($parentfolderid);
Procedural Interface
cloudmail_office365_do_listfolders($res, $parentfolderid);
Remarks
This method lists the folders found in the parent folder. This method clears populates the Folder* properties.
Set parentFolderId to be an empty string to list all folders in the root folder.
If the number of folders is greater than the folder page size, ListFoldersMarker will be populated and calling ListFolders again will list the next page of folders.
Example (List All Folders in the Root Folder)
office365.ListFolders("");