ListPermissions Method
Lists the permissions of a folder.
Syntax
async sharefile.listPermissions(folderId : string): Promise<void>
Remarks
The method will list the permissions of a folder defined by the FolderId parameter.
Calling this method will fire the PermissionList event once for each permission, and will also populate the Permission* properties.
string FolderId = shareFile.Items[0].Id; shareFile.ListPermissions(FolderId);