TdxCloudStorageItemPermissions.FetchAll(Boolean) Method
Loads all permissions to access a file or folder from the connected server.
Declaration
procedure FetchAll(AForce: Boolean = False);
Parameters
Name | Type | Description |
---|---|---|
AForce | Boolean | If True, the procedure always updates the list of permissions from a server; otherwise, it loads permissions only if the permission collection is empty. |
Remarks
Call this procedure to retrieve all access permissions for a storage item and populate the collection. Then, you can use the Items property or call the FindByID function to access loaded permissions. If the permission collection is not empty, you can call the FetchAll procedure and pass True as the AForce optional parameter to update the list of permissions from the connected server.
Note
A FetchAll procedure call raises the cloud storage component’s OnItemPermissionsLoaded event once all access permissions have been loaded from the server.