Show / Hide Table of Contents

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 Source

Action

Gets or sets the event type.

Declaration
[MaxLength(30)]
public string Action { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

ClientAddress

Gets or sets the client's IP address.

Declaration
[MaxLength(30)]
public string ClientAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Event

Gets or sets the event type.

Declaration
[Required]
[MaxLength(30)]
public AuditEvent Event { get; set; }
Property Value
Type Description
AuditEvent
| Improve this Doc View Source

EventDateTime

Gets or sets the event date time the event occurred.

Declaration
[Required]
public DateTime EventDateTime { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Message

Gets or sets an additional event message.

Declaration
[MaxLength(1000)]
public string Message { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Request

Gets or sets the request.

Declaration
[MaxLength(250)]
public string Request { get; set; }
Property Value
Type Description
System.String

The request.

| Improve this Doc View Source

Result

Gets or sets the event result.

Declaration
[Required]
[MaxLength(30)]
public AuditResult Result { get; set; }
Property Value
Type Description
AuditResult
| Improve this Doc View Source

User

Gets or sets the associated user.

Declaration
public MicroUserModel User { get; set; }
Property Value
Type Description
MicroUserModel
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright (c) GlobalLink Vasont