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.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property HasAppPrincipalContext As Boolean
Get
用法
Dim instance As SPSite
Dim value As Boolean
value = instance.HasAppPrincipalContext
public bool HasAppPrincipalContext { get; }