All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

AuditTrailService Methods

The service that the Audit Trail Module uses to monitor object changes and log this information. You can use the static Instance property to access this service and customize its behavior.
Name Description
AddCustomAuditData(Session, AuditDataItem) Adds custom data (information on events that are not audited) to the audit log.
BeginObjectsAudit(Session, ObjectAuditingMode, Object[]) Starts auditing the specified objects according to auditingMode.
BeginObjectsAudit(Session, Object[]) Starts auditing the specified objects in Full object auditing mode.
BeginSessionAudit(Session, AuditTrailStrategy) Starts auditing object changes made within the specified session.
BeginSessionAudit(Session, AuditTrailStrategy, ObjectAuditingMode) Starts auditing changes made to the object within the specified session.
EndSessionAudit(Session) Stops auditing object changes made within the specified session.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetStrategy(Session) Gets the audit strategy for the specified session.
GetType() Gets the Type of the current instance. Inherited from Object.
IsSessionAudited(Session) Indicates whether the Audit Trail Module audits object changes within the specified session.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SaveAuditData(Session) Saves AuditDataItem objects to the database. Call this method when you add custom audit data to the log.
SetXPDictionaries(IList<XPDictionary>) For internal use.
SetXPDictionary(XPDictionary) For internal use.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also