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 object to an existing audit event.
Namespace: Smartsite.Data
Assembly: Smartsite.Data (in Smartsite.Data.dll)
Syntax
C# | Copy Code |
---|---|
public static void AddObject( string loginName, long eventNr, string objectTypeCode, objectIdentifier, string auditTypeCode, params [] arguments ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Shared Sub AddObject ( _ loginName As , _ eventNr As Long, _ objectTypeCode As , _ objectIdentifier As , _ auditTypeCode As , _ ParamArray arguments As () _ ) |
Parameters
- loginName
- String
I: Login name of the user that causes the audit entry.
- eventNr
- Int64
I: Audit event number.
- objectTypeCode
- String
I: Object type code, for example "CONTENT_VERSIONS", as found in the table with audit object types.
- objectIdentifier
- Guid
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
- array<Object>[]()
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.
Remarks
The current user must match the user of the original audit event.
See Also
Auditor Class
Smartsite.Data Namespace