xdmp.groupGetAuditEventTypeEnabled( groupId as String, eventType as String ) as Boolean
This function returns the audit event type's enabled setting for the audit configuration. A value of true is returned if both audit has been enabled for group setting and the audit event type has been enabled, Otherwise false is returned.
Parameters | |
---|---|
groupId | The ID of the group. |
eventType | The event type to check. |
var groupId = xdmp.group() xdmp.groupGetAuditEventTypeEnabled(groupId, "mlcp-copy-export-start"); => true