TdxCloudStorageItemPermissions.DeletePermission(TdxCloudStorageItemPermission) Method
Deletes the specified access permission.
Declaration
procedure DeletePermission(APermission: TdxCloudStorageItemPermission);
Parameters
Name | Type | Description |
---|---|---|
APermission | TdxCloudStorageItemPermission | An access permission. |
Remarks
Call this procedure and pass a stored item access permission as the APermission parameter to remove this permission from the collection. A DeletePermission procedure call raises an exception if it is impossible to delete the specified access permission (for instance, if the permission is inherited).
Note
A DeletePermission procedure call raises the cloud storage component’s OnItemPermissionDeleted event when the specified permission is deleted.
See Also