Interface IAuditEntry
Represents an audited event.
Namespace: Umbraco.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public interface IAuditEntry : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Remarks
The free-form details properties can be used to capture relevant infos (for example, a user email and identifier) at the time of the audited event, even though they may change later on - but we want to keep a track of their value at that time.
Depending on audit loggers, these properties can be purely free-form text, or contain json serialized objects.
Properties
View SourceAffectedDetails
Gets or sets free-form details about the entity affected by the audited event.
Declaration
string AffectedDetails { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The entity affected by the event can be another user, a member...
AffectedUserId
Gets or sets the identifier of the user affected by the audited event.
Declaration
int AffectedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Not used when no single user is affected by the event.
EventDateUtc
Gets or sets the date and time of the audited event.
Declaration
DateTime EventDateUtc { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
EventDetails
Gets or sets free-form details about the audited event.
Declaration
string EventDetails { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EventType
Gets or sets the type of the audited event.
Declaration
string EventType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PerformingDetails
Gets or sets free-form details about the user triggering the audited event.
Declaration
string PerformingDetails { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PerformingIp
Gets or sets the IP address or the request triggering the audited event.
Declaration
string PerformingIp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PerformingUserId
Gets or sets the identifier of the user triggering the audited event.
Declaration
int PerformingUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |