IPWorks Cloud 2020 Python Edition

Questions / Feedback?

get_permission_info Method

Gets information about a specific user's permission for a folder.

Syntax

def get_permission_info(folder_id: str, user_id: str) -> None: ...

Remarks

Calling this method will fire the on_permission_list 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 Python Edition - Version 20.0 [Build 8265]