IMetabasePolicy.AuditClipboardOperations

Fore Syntax

AuditClipboardOperations: Boolean;

Fore.NET Syntax

AuditClipboardOperations: Boolean;

Description

The AuditClipboardOperations property determines logging of operations of copying to clipboard.

Comments

If the value is True, operations of copying to clipboard are logged.

Fore Example

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.

Fore.NET Example

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:

IMetabasePolicy