SearchRecycleBin (open)

Returns a selection of the recycle bin

Syntax

LOADLIB "mod::system/lib/whfs.whlib";

RECORD ARRAY FUNCTION SearchRecycleBin(RECORD options)

Parameters

RECORD options
fromdate
STRING namecontains

Return only objects with this substring in their original name

INTEGER owner

If not 0, return only objects the user with this authobjectid deleted / requested to delete

INTEGER site

If not 0, return only objects from this site

todate
types

If filled, return only objects with any of these types

Return value

RECORD ARRAY
deletetype

'normal' / 'versioned'

deletiondate

Date the object was deleted (or the request to delete was accepted)

deletionuserid

Id of the user that deleted the file (requested the file to be deleted)

id
isfolder
name
origlocation

Folder where the file came from (site root for versioned items)

origsubpath

Path within the original location where the object deleted from

parent

Current parent folder of the deleted file

type