AddAuditRecord Method
Adds a custom audit record.
Visual Basic
Public Sub AddAuditRecord( _
   ByVal pAuditRecordData As Object _
A reference to an AuditRecordData Object.

This method bypasses some of the business logic ALM uses when creating audit events. To separate ALM audit events from custom events, a restriction is imposed: Your AuditRecordData.Action string must begin with "CA_" (custom action) or this method fails.

The user is responsible for the integrity of events added with AddAuditRecord. For example, you can sign the record's data and store the signature in the AuditRecordData.Description field.

Some data not stored in AuditRecordData is added by the ALM infrastructure. For example, the record ID, the session ID, the user name and the time stamp.

See Also