MarkLogic Server 11.0 Product Documentation
xdmp.groupGetAuditEventTypeEnabled

xdmp.groupGetAuditEventTypeEnabled(
   groupId as String,
   eventType as String
) as Boolean

Summary

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.

Example

var groupId = xdmp.group()
xdmp.groupGetAuditEventTypeEnabled(groupId, "mlcp-copy-export-start");
=>
true
Powered by MarkLogic Server | Terms of Use | Privacy Policy