Last access date of a database

Greetings,I want the last access date of a database. how can I achieve this?

Panther.

Subject: last access date of a database

Take a look at NotesUserActivity Class found in the SANDBOX:http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/c12a2fd2142758b68525688d00708397?OpenDocument&Highlight=0,useractivity

It will give You the access time of any database, but make sure that the database(s) has “Record User Activity” property enabled.

Subject: RE: last access date of a database

but its not working on Windows xp operating system.

Subject: RE: last access date of a database

Isn’t it? Well, I have XP and its working for me. It is only the individual UserActivity Entries that isn’t displayed correctly. But the last access date for the DATABASE is displayed correctly.

Subject: RE: last access date of a database

Yes its working thanks, last access date is also correct but its server access date when all the design used to get refresh from the server template.If user activity will come correctly then its easy to monitor the last access date of the user.

Subject: last access date of a database

Hi Panther,

You can get the last modified date and time of a database.

Just Open File->Database->Properties. Then click Info tab there you will get date and time the database was last modified.

If you want programmatically in LS, then use ‘LastModified’ property of NotesDatabase class.

I hope this helps you. I tried to find out last access date, but i could not found out.

Regards,

Omkar Naik

Subject: RE: last access date of a database

hi…Last Modified date is not last access date.because every time database get refresh from master template from server and that is also last modified date not last access date.