Session.LogSecurityAudit(Text, SecurityOperationResult, Text, AuditCategory [, Array of [Text]] [, Array of [Text]]) Method

Version: Available or changed with runtime version 7.0.

Logs an IfX audit message to a telemetry account.

Syntax

 Session.LogSecurityAudit(Description: Text, Result: SecurityOperationResult, ResultDescription: Text, AuditCategory: AuditCategory [, TargetType: Array of [Text]] [, TargetName: Array of [Text]])

Note

This method can be invoked without specifying the data type name.

Parameters

Description
 Type: Text
The description for the audit message.

Result
 Type: SecurityOperationResult
The result state of the operation.

ResultDescription
 Type: Text
The description of the result state.

AuditCategory
 Type: AuditCategory
The category of the audit message.

[Optional] TargetType
 Type: Text
The target type(s) of this audit message must correspond to target name(s).

[Optional] TargetName
 Type: Text
The target name(s) of this audit message must correspond to target type(s).

Session Data Type Get Started with AL Developing Extensions