共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.SPAppPrincipalPermissionKind
應用程式主體的明確權限在整個站台集合。

請參閱

參照

SPAppPrincipalPermissionsManager class

SPAppPrincipalPermissionsManager members

Microsoft.SharePoint namespace