AppPermissionRequestsDefinition complexType

(SharePoint Add-in Manifest)

Applies to: SharePoint Add-ins | SharePoint Foundation 2013 | SharePoint Server 2013

Note

The string app appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.

Type information

Namespace: http://schemas.microsoft.com/sharepoint/2012/app/manifest

Schema file: appmanifest.xsd

Extension base: None

Definition

    <xs:complexType name="AppPermissionRequestsDefinition">
      <xs:sequence>
        <xs:element name="AppPermissionRequest"  type="AppPermissionRequestDefinition"
         minOccurs="0"
         maxOccurs="1000"
        >
        </xs:element>
      </xs:sequence>
        <xs:attribute name="AllowAppOnlyPolicy"
         type="xs:boolean"
         use="optional"
        />
    </xs:complexType>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Child elements

Element

Type

Description

AppPermissionRequest

AppPermissionRequestDefinition

The add-in permission requests.


Attributes

Attribute

Type

Required

Description

Possible values

AllowAppOnlyPolicy

xs:boolean

optional

Whether to allow the add-in to use add-in-only policy.

Values of the xs:boolean type.