ListFolders Method
Lists the folders found in the parent folder.
Syntax
public fun listFolders(parentFolderId: String?)
Remarks
This method lists the folders found in the parent folder. This method populates the Folders property.
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("");