IAuditTrail Interface Ingeniux CMS Content Store API

Represents the Audit Trail system. This system allows you to retrieve audit entries and add new entries. The Audit Trail system automatically creates entries after entities are created, updated, or deleted in the content store.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface IAuditTrail

The IAuditTrail type exposes the following members.

Properties

  NameDescription
Public propertySettings
Gets the settings of the Audit Trail system.
Top
Methods

  NameDescription
Public methodAddT
Adds a new Audit Entry for an entity update.
Public methodEntityUpdateEntriesT
Retrieves audit entries that record entity updates in a paginated fashion.
Public methodEntries
Retrieves audit entries in a paginated fashion.
Public methodCode exampleEntry
Retrieves a specific audit entry by its entity ID.
Public methodFlush
Top
Remarks

The Audit Trail interface is only created once per ContentStore instance. It is not controlled within any UserSession, and its updates aren't involved in any transactions.

The Audit Trail interface doesn't allow for removal of entries, but it does perform automatic archives based on its settings.

Examples

The Audit Trail instance is retrieved directly from the ContentStore.
C#
IAuditTrail auditTrail = store.AuditTrail;
See Also

Reference