Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Audit.SetLogAccess

Sets whether access is logged.

Component Version macOS Windows Linux Server iOS SDK
Audit 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Audit.SetLogAccess"; value )   More

Parameters

Parameter Description Example
value The new setting. Can be 0 or 1. 0

Result

Returns OK or error.

Description

Sets whether access is logged.
If a record is modified which the plugin does not log as fields are disabled for logging, the plugin will write an entry with access action. If you set this to zero, the access log entry is not written.
See also Audit.GetLogAccess.

You may best call this in start script of the solution to setup Audit as needed.

Examples

Disable access logging:

MBS( "Audit.SetLogAccess"; 0 )

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 3th June 2021


Audit.SetIgnoredFieldNames - Audit.SetUUIDField