Deleting old users

Is there a script/method available that will delete/clear out “old users” from Openfire? By old I mean users that haven’'t logged on for “N” days.

Thanks!

Hi,

I attempted to do this against a postgres database which stored the persistent data for Openfire. Unfortunately, I kicked the task when I couldn’'t figure out how to tell the difference between a user that was logged in and one that had never logged in since the account was created.

Hopefully someone is more help than I.

daryl