Symptoms

When you try to delete a Login from adTempus, you receive the following error message:

Cannot delete Security Login "username" because it is being referenced by ObjectChangeLog "ObjectChangeLog" (and possibly other objects)

Cause

This error occurs when there are Change Log (Audit or Snapshot) records linked to this login (because the user performed an audited action in adTempus). The login cannot be deleted until those audit records are purged, which happens automatically based on the retention setting under Configuration > General Server Options > Auditing and Snapshots.

Workaround

Instead of deleting the Login, you can edit it and uncheck the Enabled box to prevent the user from logging in.

Status

adTempus 5 will include a change that allows Logins to be deleted without affecting the corresponding audit records.