Information of a data modification audit.
Default constructor
public Void Audit()
Initializes a new instance of Audit.
public Void Audit(id)
Name | Type | Summary |
---|---|---|
id | String | Audit record Id |
Creation date and time on UTC.
public DateTime CreatedOnUtc { get; set; }
Audit record data
public Byte[] Data { get; set; }
The ToString text of the element beeing audited (truncated if necesary).
public String ElementString { get; set; }
Whether model validation must be enforced.
public Boolean EnforceModelValidation { get; }
Audit record Id
public String Id { get; set; }
Next Audit item for this source.
public Audit Next { get; set; }
Id of the next audit record
public String NextId { get; set; }
Previous Audit item for this source.
public Audit Previous { get; set; }
Id of the previous audit record
public String PreviousId { get; set; }
Security incident Id
public String SecurityIncidentId { get; set; }
Id of the object that sources the audit record.
public String SourceId { get; set; }
Protocol of the object that sources the audit record.
public String SourceProtocol { get; set; }
Caption for the source protocol
public String SourceProtocolCaption { get; set; }
Multi-tenant partition key.
public Int32 TenantId { get; set; }
User authority.
public String UserAuthority { get; set; }
User display name
public String UserDisplayName { get; set; }
User Id
public String UserId { get; set; }
User name
public String UserName { get; set; }
Checks if other is equals to this object.
public Boolean Equals(other)
Name | Type | Summary |
---|---|---|
other | Audit |
Checks if obj is equals to this object.
public Boolean Equals(obj)
Name | Type | Summary |
---|---|---|
obj | Object | An object to compare with this object. |
Gets audit internal data.
public AuditInfo GetAuditInfo()
An AuditInfo or null if thre is no data.
Type | Summary |
---|---|
AuditInfoDeserializationException | Thrown when problems decrypting or de-serializing the internal data. |
Not required, implemented to avoid warnings, returns base.GetHasCode().
public Int32 GetHashCode()
Gets the SecurityIncident related to this audit record if any.
public Task<SecurityIncident> GetSecurityIncidentAsync()
A SecurityIncident or null if there is no related incident.
Type | Summary |
---|---|
AuditInfoDeserializationException | Thrown when problems decrypting or de-serializing the internal data. |
SecurityIncidentNotFoundException | Thrown when the security incident could not be found and an Id is registered within the audit record. |
In this document