WRDAuthPlugin::LogCustomAuditEvent (open)
Log a custom audit event
Syntax
LOADLIB "mod::wrd/lib/internal/auth/webdesignplugin.whlib";
MACRO LogCustomAuditEvent(STRING type, RECORD options)Parameters
STRING typeThe event type (e.g. "MYSITE:MYEVENT")
RECORD optionsOptions
accountWRD ID of account that is being modified (required)
isimpersonationWhether this is an impersonation
loginLogin name of account that is being modified
RECORD messageAdditional data
BOOLEAN useseparateprimaryWhether to use a separate primary transaction for logging the event, defaults to true.