CopyToClipboardAllowed: Boolean;
The CopyToClipboardAllowed property determines whether it is possible to copy data into a clipboard and copy a screen.
By default this property is set to True, and the clipboard can be used on working with the platform. If the False value is set, on working with the platform the data copying and the usage of the Print Screen button is not allowed.
Sub Main;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
MU: IMetabasePolicy;
Begin
MB := MetabaseClass.Active;
MS := MB.Security;
MU := MS.Policy;
MU.AllowUserQueries := False;
MU.CopyToClipboardAllowed := False;
MS.Apply;
End Sub Main;
After executing this example the work with a clipboard and extended possibilities to work with DB and external files are prohibited while working in repository.
See also:
General policy