GetPermissionInfo Method
Gets information about a specific user's permission for a folder.
Object Oriented Interface
public function doGetPermissionInfo($folderid, $userid);
Procedural Interface
ipworkscloud_sharefile_do_getpermissioninfo($res, $folderid, $userid);
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);