Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasAppPrincipalContext property
Collapse the table of content
Expand the table of content

SPSite.HasAppPrincipalContext property

SharePoint 2013

Whether this [SPSite] object is running within an app principal context. When the [SPSite] object is running within an app principal context, the request permission may be restricted by the app principal's permission, even if the [SPSite] object is created with System account.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool HasAppPrincipalContext { get; }

Property value

Type: System.Boolean
© 2015 Microsoft