SPWeb.GetSiteAppPrincipals 方法

Get the app principals in the site collection.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetSiteAppPrincipals As IEnumerable(Of SPSiteAppPrincipalInfo)
用法
Dim instance As SPWeb
Dim returnValue As IEnumerable(Of SPSiteAppPrincipalInfo)

returnValue = instance.GetSiteAppPrincipals()
public IEnumerable<SPSiteAppPrincipalInfo> GetSiteAppPrincipals()

返回值

类型:System.Collections.Generic.IEnumerable<SPSiteAppPrincipalInfo>
All app principals in the site collection. Those app principals are the ones either have been explicitly granted permissions or the ones have visited the site collection.

备注

It's an expensive operation.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间