Skip to main content

TdxCloudStorageItemPermissions.FindByID(string) Method

Returns a stored access permission by its unique identifier.

Declaration

function FindByID(const AID: string): TdxCloudStorageItemPermission;

Parameters

Name Type Description
AID string

A unique identifier of a file or folder in a cloud storage.

Returns

Type Description
TdxCloudStorageItemPermission

A permission to access or edit a file or folder in a cloud storage.

Remarks

Call this function and pass an ID of a storage item’s access permission as the AID parameter to access this permission. The FindByID function returns nil (in Delphi) or nullptr/NULL (in C++Builder) if the collection does not store an access permission with the specified identifier.

Note

Call the FetchAll procedure to retrieve or refresh the list of access permissions for a file or folder.

See Also