SPAppPrincipalPermissionsManager.GetAppPrincipalSitePermission method
網站集合中取得應用程式主體的明確權限。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetAppPrincipalSitePermission ( _
appPrincipal As SPAppPrincipal _
) As SPAppPrincipalPermissionKind
'用途
Dim instance As SPAppPrincipalPermissionsManager
Dim appPrincipal As SPAppPrincipal
Dim returnValue As SPAppPrincipalPermissionKind
returnValue = instance.GetAppPrincipalSitePermission(appPrincipal)
public SPAppPrincipalPermissionKind GetAppPrincipalSitePermission(
SPAppPrincipal appPrincipal
)
參數
appPrincipal
Type: Microsoft.SharePoint.SPAppPrincipal應用程式主體中。
傳回值
Type: Microsoft.SharePoint.SPAppPrincipalPermissionKind
應用程式主體的明確權限在整個站台集合。
請參閱
參照
SPAppPrincipalPermissionsManager class