Class AuditLogModel
This class represents an event log entry within the application.
Inheritance
System.Object
AuditLogModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vasont.Publisher.Models.Logging
Assembly: Vasont.Publisher.Models.dll
Syntax
public class AuditLogModel
Properties
| Improve this Doc View SourceAction
Gets or sets the event type.
Declaration
[MaxLength(30)]
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AuditLogId
Gets or sets the unique identity of the security event log record.
Declaration
public int AuditLogId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ClientAddress
Gets or sets the client's IP address.
Declaration
[MaxLength(30)]
public string ClientAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Event
Gets or sets the event type.
Declaration
[Required]
[MaxLength(30)]
public AuditEvent Event { get; set; }
Property Value
Type | Description |
---|---|
AuditEvent |
EventDateTime
Gets or sets the event date time the event occurred.
Declaration
[Required]
public DateTime EventDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Message
Gets or sets an additional event message.
Declaration
[MaxLength(1000)]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Request
Gets or sets the request.
Declaration
[MaxLength(250)]
public string Request { get; set; }
Property Value
Type | Description |
---|---|
System.String | The request. |
Result
Gets or sets the event result.
Declaration
[Required]
[MaxLength(30)]
public AuditResult Result { get; set; }
Property Value
Type | Description |
---|---|
AuditResult |
User
Gets or sets the associated user.
Declaration
public MicroUserModel User { get; set; }
Property Value
Type | Description |
---|---|
MicroUserModel |
UserId
Gets or sets the optional associated user that generated the event.
Declaration
[MaxLength(450)]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String |