TdxCloudStorage.TItemPermissionChangedEvent Type
The nested procedural type of access permission change events.
Declaration
TItemPermissionChangedEvent = procedure(Sender: TObject; const APermission: TdxCloudStorageItemPermission) of object;
Parameters
Name | Type | Description |
---|---|---|
Sender | TObject | The cloud storage component that changed an access permission. |
APermission | TdxCloudStorageItemPermission | The changed access permission. |
Remarks
The Sender parameter provides access to the cloud storage component that raised the access permission change event. To access the component’s class members within a TItemPermissionChangedEvent event handler, cast the parameter value to the TdxCloudStorage class.
The APermission parameter provides access to the changed access permission. Refer to the TdxCloudStorageItemPermission class description for detailed information on available options.
The OnItemPermissionCreated and OnItemPermissionDeleted events reference the TItemPermissionChangedEvent nested procedural type.
Note
An attempt to manage access permissions for root or any special folder always results in an exception that displays the corresponding message box.