Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the app principal's permission on the specified permission provider within the site subscription.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetAppPrincipalSiteSubscriptionPermission ( _
appPrincipal As SPAppPrincipal, _
appPermissionProviderId As Guid _
) As Byte()
'Usage
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
)
Parameters
appPrincipal
Type: Microsoft.SharePoint.SPAppPrincipalThe app principal.
appPermissionProviderId
Type: System.GuidThe identifier of the permission provider.
Return value
Type: []
The app principal's permission on the specified permission provider.
See also
Reference
SPAppPrincipalPermissionsManager class