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
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
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
AutoId
Gets or sets the identifier.
public int AutoId { get; set; }
Property Value
Id
Gets or sets the object id.
public string Id { get; set; }
Property Value
LanguageId
Gets or sets the object language id.
public string LanguageId { get; set; }
Property Value
ObjectInformation
public string ObjectInformation { get; }
Property Value
Parent
Gets or sets the parent object.
public string Parent { get; set; }
Property Value
SubId
Gets or sets the object sub id.
public string SubId { get; set; }
Property Value
Timestamp
Gets or sets the audit event timestamp.
public DateTime Timestamp { get; }
Property Value
Type
Gets or sets the object type.
public string Type { get; set; }
Property Value
UserId
Gets or sets the user id which fire audit event.
public int UserId { get; }