Adds a record to the ISAuditLog table with a Class of "User".

Syntax

finAuditFunctions.AuditLogAdd(auditLogType, [sourceId], [sourcePk], [details], [level], [status], [failedReason], [pk])

Parameters

NameTypeOptionalByRefDescription
auditLogType isefinAuditLogType The Audit Log Type. Must be one of UserA through UserZ
sourceId String Optional The Source Id, e.g. the Id of a Client record.
sourcePk Integer Optional The primary key of Source, e.g. the primary key of a Client record. If omitted, a value of 0 is assumed.
details String Optional Details to record. May also be the string return from ISKeyValueList.ToXmlString.
level Integer Optional The Level to record. This should be between 0 and 9. Note, 0 will not record an Audit Log. If omitted, a value of 1 is assumed.
status iseAuditLogStatus Optional The Audit Log Status. If omitted, a value of iseAuditLogStatus.Success is assumed.
failedReason String Optional If failed, the reason for the failure.
pk Integer Optional ByRef The primary key of the newly created Audit Log record. If omitted, a value of 0 is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAuditFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0