Office.AccessControls interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents access controls that specify whether the decrypted contents of a message can be copied and pasted, printed, or saved.
Properties
| allow |
If true, specifies that the decrypted contents of a message can be copied and pasted. |
| allow |
If true, specifies that the decrypted contents of a message can be printed. |
| allow |
If true, specifies that the decrypted contents of a message can be saved. |
Property Details
allowCopyPaste
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If true, specifies that the decrypted contents of a message can be copied and pasted.
allowCopyPaste?: boolean;
Property Value
boolean
Remarks
Important:
In Outlook on the web, setting the
allowCopyPasteproperty tofalsealso prevents users from capturing their screen in the form of screenshots or recordings. The screen capture policy remains in effect until the user reloads the Outlook browser tab.In Outlook on the web and the new Outlook on Windows, setting the
allowCopyPasteproperty totrueallows the user to copy content by selecting Copy from the context menu or pressingCtrl+C. However, if another access control is set tofalse, the context menu becomes unavailable. The user must useCtrl+Cinstead.
allowPrint
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If true, specifies that the decrypted contents of a message can be printed.
allowPrint?: boolean;
Property Value
boolean
Remarks
allowSave
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If true, specifies that the decrypted contents of a message can be saved.
allowSave?: boolean;
Property Value
boolean