Hi Michael – i confirm that this code above works and gives me the list – thanks. I set the post to resolved for that reason.
One thing though – maybe a separate topic. The permalink function returns URLs that are not accessible. Appears that once items are in the trash you can retrieve info about them programmatically but cannot link to them in the normal way.
R