IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

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);

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 JavaScript Edition - Version 20.0 [Build 8265]