AppPrincipalDefinition complexType

(SharePoint Add-in Manifest)

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

The add-in principal definition.

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

Information Location
Namespace http://schemas.microsoft.com/sharepoint/2012/app/manifest
Schema file appmanifest.xsd
Extension base None

Definition

    <xs:complexType name="AppPrincipalDefinition">
      <xs:choice>
        <xs:element name="RemoteWebApplication" >
          <xs:attribute name="ClientId"
          type="AppPermissionAppPrincipalDefinition"
          use="required"
          />
        </xs:element>

        <xs:element name="Internal" >
          <xs:attribute name="AllowedRemoteHostUrl"
          type="ManifestUri"
          use="optional"
          />
          <xs:attribute name="RedirectUrl"
          type="ManifestUri"
          use="optional"
          />
        </xs:element>

        <xs:element name="AutoDeployedWebApplication" >

      <xs:complexType>
        <xs:sequence>
          <xs:element name="DebugInfo"  type="AutoDeployedWebApplicationDebugInfoDefinition"
          minOccurs="0"
          >
          </xs:element>
        </xs:sequence>
      </xs:complexType>

        </xs:element>
      </xs:choice>
    </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

AutoDeployedWebApplication

Not defined

Internal

Not defined

RemoteWebApplication

Not defined

Attributes

None.