SharingItem.Permission property (Outlook)

Sets or returns an OlPermission constant that determines what permissions to grant the recipients on the SharingItem. Read/write.

Syntax

expression. Permission

expression A variable that represents a SharingItem object.

Remarks

The Permission property should be synchronized with the PermissionTemplateGuid property to accurately reflect the permission status of the SharingItem. Setting the PermissionTemplateGuid property to a valid GUID should also incur setting the Permission property to OlPermission.olPermissionTemplate.

When no Information Rights Management (IRM) has been set up (in which case the Permission property is OlPermission.olUnrestricted), or the restriction is not to forward the SharingItem (in which case the Permission property is OlPermission.olDoNotForward), the value of the PermissionTemplateGuid property should be an empty string.

Although you can view content that is protected by IRM on any computer running the 2007 Microsoft Office system or a later version, you must have Microsoft Office Professional Edition 2003, Microsoft Office Outlook 2007, or a later version of Outlook to create or send an email that is protected by IRM.

See also

SharingItem Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.