SearchRecycleBin (open)
Returns a selection of the recycle bin
Syntax
LOADLIB "mod::system/lib/whfs.whlib";
RECORD ARRAY FUNCTION SearchRecycleBin(RECORD options)Parameters
RECORD optionsfromdateSTRING namecontainsReturn only objects with this substring in their original name
INTEGER ownerIf not 0, return only objects the user with this authobjectid deleted / requested to delete
INTEGER siteIf not 0, return only objects from this site
todatetypesIf filled, return only objects with any of these types
Return value
RECORD ARRAYdeletetype'normal' / 'versioned'
deletiondateDate the object was deleted (or the request to delete was accepted)
deletionuseridId of the user that deleted the file (requested the file to be deleted)
idisfoldernameoriglocationFolder where the file came from (site root for versioned items)
origsubpathPath within the original location where the object deleted from
parentCurrent parent folder of the deleted file
type