/// <summary> /// Audit a report execution /// </summary> public static void LogReportAudit(AuditType type, SecurityUser user, Report report, ReportSchedule schedule) { Audit.LogAudit(report.HasErrors ? AuditType.ReportExecutionError : AuditType.ReportExecution, report.SecurityContext, report.FilePath, null, report.ExecutionErrors, report, schedule); }
/// <summary> /// Audit an eventn /// </summary> public static void LogEventAudit(AuditType type, string detail) { Audit.LogAudit(type, null, null, detail); }