共用方式為


SPAppPrincipalPermissionsManager.GetAppPrincipalSiteSubscriptionPermission method

取得在指定的使用權限提供者內網站訂閱的應用程式主體的權限。

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

Syntax

'宣告
Public Function GetAppPrincipalSiteSubscriptionPermission ( _
    appPrincipal As SPAppPrincipal, _
    appPermissionProviderId As Guid _
) As Byte()
'用途
Dim instance As SPAppPrincipalPermissionsManager
Dim appPrincipal As SPAppPrincipal
Dim appPermissionProviderId As Guid
Dim returnValue As Byte()

returnValue = instance.GetAppPrincipalSiteSubscriptionPermission(appPrincipal, _
    appPermissionProviderId)
public byte[] GetAppPrincipalSiteSubscriptionPermission(
    SPAppPrincipal appPrincipal,
    Guid appPermissionProviderId
)

參數

  • appPermissionProviderId
    Type: System.Guid

    權限提供者的識別項。

傳回值

Type: []
主要應用程式的指定使用權限提供者] 權限。

請參閱

參照

SPAppPrincipalPermissionsManager class

SPAppPrincipalPermissionsManager members

Microsoft.SharePoint namespace