PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Adds a correlated audit entry, consisting of an audit event and a first audit object.

Syntax

Smartsite SXML CopyCode image Copy Code
T:System.Int64 audit.addcorrelatedentry(string correlationID, string objectTypeCode, string objectIdentifier, string auditTypeCode)
T:System.Int64 audit.addcorrelatedentry(string correlationID, string objectTypeCode, string objectIdentifier, string auditTypeCode, any[ ] arguments)

Parameters

Name Data Type Description
correlationID String I: Correlation identifier. The string must represent a guid, for example "{1488F624-1B2E-4092-AEE5-E2422F35D27F}". Accepted formats include an identifier without { and }, and/or without dashes. The identifier is case insensitive.
objectTypeCode String I: Object type code, for example "CONTENT_VERSIONS", as found in the table with audit object types.
objectIdentifier String I: Identifier. The string must represent a guid, for example "{2F8F613F-2CFE-4BD4-9B6B-198E1D5D6CFC}". Accepted formats include an identifier without { and }, and/or without dashes. The identifier is case insensitive.
auditTypeCode String I: Audit type, by means of a type code that must exist in the audit types table.
arguments Any[ ] I: Arguments, or null if none. The number of arguments must match the number of arguments as expected by the format string for the this audit type. The argument must be one of the supported types, for example int or string.

Return Value

Data Type Description
T:System.Int64 Returns the number of the created audit event. This number can be used to add audit objects to the audit event.
SXML