TdxCloudStorage.FetchPermissions(TdxCloudStorageItem) Method
Loads access permissions for a specified cloud storage item.
Declaration
procedure FetchPermissions(AItem: TdxCloudStorageItem);
Parameters
Name | Type | Description |
---|---|---|
AItem | TdxCloudStorageItem | A cloud file or folder metadata container. |
Remarks
Call this procedure to retrieve all access permissions for the specified cloud storage item. Then, you can use its Permissions.Items property or call the Permissions.FindByID function to access loaded permissions.
A FetchPermissions procedure call raises the OnItemPermissionsLoaded event once all access permissions are loaded from a server.
Note
The FetchPermissions procedure always runs in the same thread from which it is called. Alternatively, you can call the asynchronous Permissions.FetchAll procedure of a cloud storage item to load its access permissions.
See Also