Share via


2.3.35 ST_Permissions1

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

Referenced by: TaskPaneApp

Specifies the permission level required by a task pane add-in.

Value

Meaning

Restricted

Permission that applies to all task pane apps: enables activation, and allows use of the Settings object API.

ReadDocument

Includes the Restricted permission, and also enables the task pane add-in to get data from the document.

ReadAllDocument

Includes the Restricted and ReadDocument permissions, and also enables the task pane add-in to obtain a copy of the entire document.

WriteDocument

Includes the Restricted permission, and also enables the task pane add-in to set data in the document.

ReadWriteDocument

Includes the ReadDocument, WriteDocument, ReadAllDocument permissions, and also enables the task pane add-in to use all write methods, manage bindings, and subscribe to events.

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

 <xs:simpleType name="ST_Permissions1">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Restricted"/>
     <xs:enumeration value="ReadDocument"/>
     <xs:enumeration value="ReadAllDocument"/>
     <xs:enumeration value="WriteDocument"/>
     <xs:enumeration value="ReadWriteDocument"/>
   </xs:restriction>
 </xs:simpleType>

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