Can you find out who deleted a document?

I tried to search but it looks like the search is not working…Quick question for everyone:

I have a Generic email box which people go into under their own ID. Is there a way to see who deleted documents in the generic email database? I tried checking the Recorded Activity and the document properties, but didn’t see anything.

I don’t think there is a way, but I wanted to make sure.

Thanks

Edmound

Subject: Can you find out who deleted a document?

By default, no there isn’t a way.

What I’ve done is added code to the database delete event that captures the information and stores it in in a noeslog document.

Subject: RE: Can you find out who deleted a document?

Hi,
Use NotesPeek (Look in the SandBox).

Go in the deletion stubs section.

There is a note named Deleted document. Check the time and date of the deletions and look at the user activity of your db.

JYR

Subject: Can you find out who deleted a document?

I wrote my own LotusScript code for a situation like that, but I know it is not the better way.

In QueryDelete event of the database, I did not remember what exactly I did, but it is like that:

dim collection as NotesDocumentCollection

dim doc as NotesDocument

set collection=source.documents

dim theUser as new NotesName(session.username)

dim myPath as string

dim namUs as string

namUs = left(theUser.common,4) 'anything like that to fit the name of file

myPath=“…” 'a valid path to save the records

open myPath & "" & namUs &“del.txt” for append as #1

for j=1 to collection.count

set doc=collection.GetNthDocument(j)

write #1, doc.Field1(0), doc.Field2(0)'… the name of the fields you want

next j

close #1

Everyone who delete documents in this database will recorded in that file with their own identification.

Hope this help.

Subject: Thank you…

Thanks for all the responses…For this enquiry I just wanted to see if there was a way, without any programming.

Thanks for confirming my thoughts, but also thank you for the programming information. I might be able to use this on another database of mine to track deletions…