AuditClipboardOperations: Boolean;
The AuditClipboardOperations property determines whether operations of copying to clipboard are logged.
If the value is True, operations of copying to clipboard are logged.
To execute the example, add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MPolicy: IMetabasePolicy;
Lic: Object;
Begin
MB := MetabaseClass.Active;
// Check out license to work with security manager
Lic := MB.RequestLicense(UiLicenseFeatureType.Adm);
MS := MB.Security;
MPolicy := MS.Policy;
// Set logging of copy operations to clipboard
MPolicy.AuditClipboardOperations := True;
// Save changes
MS.Apply;
// Check in license
Lic := Null;
End Sub UserProc;
After executing the example operations of copying to clipboard are logged.
See also: