AppPermissionRequestDefinition 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="AppPermissionRequestDefinition">
      <xs:sequence>
        <xs:element name="Property"  type="AppPermissionPropertyDefinition"
         minOccurs="0"
         maxOccurs="1000"
        >
        </xs:element>
      </xs:sequence>
        <xs:attribute name="Scope"
         type="xs:anyURI"
         use="required"
        />
        <xs:attribute name="Right"
         type="AppPermissionRightDefinition"
        />
    </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

Property

AppPermissionPropertyDefinition

Add-in Permission Property.


Attributes


Attribute

Type

Required

Description

Possible values

Right

AppPermissionRightDefinition

optional

The Right of the permission being requested.

Values of the AppPermissionRightDefinition type.

Scope

xs:anyURI

required

The Scope permission being requested.

Values of the xs:anyURI type.