AuditClipboardOperations: Boolean;
AuditClipboardOperations: Boolean;
The AuditClipboardOperations property determines logging of operations of copying to clipboard.
If the value is True, operations of copying to clipboard are logged.
To execute the example, add link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MPolicy: IMetabasePolicy;
Begin
MB := MetabaseClass.Active;
MS := MB.Security;
MPolicy := MS.Policy;
MPolicy.AuditClipboardOperations := True;
MS.Apply;
End Sub UserProc;
After executing the example operations of copying to clipboard are logged.
The requirements and result of the Fore.NET example execution match with those in the Fore example. The specified procedure is an entry point for .NET assembly.
Imports Prognoz.Platform.Interop.Metabase;
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MPolicy: IMetabasePolicy;
Begin
MB := Params.Metabase;
MS := MB.Security;
MPolicy := MS.Policy;
MPolicy.AuditClipboardOperations := True;
MS.Apply();
End Sub;
See also: