Share via


SPAppPermissionProvider.CanHandle method

Checks if the app permission provider is responsible for managing the permission to the specified scope.

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

Syntax

'Declaration
Public MustOverride Function CanHandle ( _
    permissionRequestScope As Uri _
) As Boolean
'Usage
Dim instance As SPAppPermissionProvider
Dim permissionRequestScope As Uri
Dim returnValue As Boolean

returnValue = instance.CanHandle(permissionRequestScope)
public abstract bool CanHandle(
    Uri permissionRequestScope
)

Parameters

  • permissionRequestScope
    Type: System.Uri

    The permission request scope.

Return value

Type: System.Boolean
true if this permission provider is responsible for managing the permission.

See also

Reference

SPAppPermissionProvider class

SPAppPermissionProvider members

Microsoft.SharePoint.Administration namespace