Share via


2.3.22 ST_Permissions2

Target namespace: http://schemas.microsoft.com/office/appforoffice/1.0

Referenced by: MailApp

Specifies the permission level required by a mail add-in.

Value

Meaning

Restricted

Permission that applies to all mail add-ins, enables the ItemIs (section 2.2.15) and ItemHasKnownEntity (section 2.2.16) activation rules, enables use of the Settings object API and a subset of the JavaScript API for Office.

ReadItem

Applies to the selected item, includes the Restricted permission, and also enables the mail add-in to use all the well-known entities and regular expression activation rules to read all properties and to write custom properties. Also allows access to the identity token.

ReadWriteMailbox

Includes the ReadItem permission and also enables the mail add-in to read and write to all properties of any item in the user's mailbox.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this simple type.

 <xs:simpleType name="ST_Permissions2">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Restricted"/>
     <xs:enumeration value="ReadItem"/>
     <xs:enumeration value="ReadWriteMailbox"/>
   </xs:restriction>
 </xs:simpleType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).