PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Adds an audit entry, consisting of an audit event and a first audit object.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
C# | Copy Code |
---|---|
[] public static long AddEntry( string objectTypeCode, string objectIdentifier, string auditTypeCode ) |
Visual Basic (Declaration) | Copy Code |
---|---|
<> _ Public Shared Function AddEntry ( _ objectTypeCode As , _ objectIdentifier As , _ auditTypeCode As _ ) As Long |
Parameters
- 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.
Return Value
Returns the number of the created audit event. This number can be used to add audit objects to the audit event.See Also
AuditViperModule Class
Smartsite.Runtime.Modules Namespace