GetPermissionInfo Method
Gets information about a specific user's permission for a folder.
Syntax
async sharefile.getPermissionInfo(folderId : string, userId : string): Promise<void>
Remarks
Calling this method will fire the PermissionList event, and will populate the Permission* properties (clearing any previously-held items in the process).
FolderId is the item Id for the folder and UserId is the user Id for the user.
string userId = shareFile.Users[0]; string folderId = shareFile.Items[0]; shareFile.GetPermissionInfo(folderId, userId);