Table of Contents

Class Audit

Namespace
Dynamicweb.Auditing
Assembly
Dynamicweb.dll
The Audit class.
public class Audit
Inheritance
Audit
Inherited Members

Constructors

Audit(string, string)

Creates an audit event based upon an object type and an object id.
public Audit(string type, string id)

Parameters

type string
The object type
id string
The object id

Audit(string, string, string)

Creates an audit event based upon an object type and an object id, and object sub id.
public Audit(string type, string id, string subId)

Parameters

type string
The object type
id string
The object id
subId string
The object sub id

Audit(string, string, string, string)

Creates an audit event based upon an object type and an object id, and an object sub id, and an object language id.
public Audit(string type, string id, string subId, string languageId)

Parameters

type string
The object type
id string
The object id
subId string
The object sub id
languageId string
The object language id

Properties

Action

Gets or sets the type of audit event action.
public string Action { get; set; }

Property Value

string

AutoId

Gets or sets the identifier.
public int AutoId { get; set; }

Property Value

int

Id

Gets or sets the object id.
public string Id { get; set; }

Property Value

string

LanguageId

Gets or sets the object language id.
public string LanguageId { get; set; }

Property Value

string

ObjectInformation

public string ObjectInformation { get; }

Property Value

string

Parent

Gets or sets the parent object.
public string Parent { get; set; }

Property Value

string

SubId

Gets or sets the object sub id.
public string SubId { get; set; }

Property Value

string

Timestamp

Gets or sets the audit event timestamp.
public DateTime Timestamp { get; }

Property Value

DateTime

Type

Gets or sets the object type.
public string Type { get; set; }

Property Value

string

UserId

Gets or sets the user id which fire audit event.
public int UserId { get; }

Property Value

int
To top