Share via


2.3.34 ST_Permissions

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

Referenced by: ContentApp

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

Value

Meaning

Restricted

Permission that applies to every content add-in, enables activation, and allows use of the Settings object API.

ReadDocument

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

WriteDocument

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

ReadWriteDocument

Includes the ReadDocument and WriteDocument permissions, and also enables the content 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_Permissions">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Restricted"/>
     <xs:enumeration value="ReadDocument"/>
     <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).