Share via


SPAppPermissionProvider.GetMissingCustomDependencies method

Gets the general capabilities the permission request scope depends on but are not available.

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

Syntax

'Declaration
Protected Overridable Function GetMissingCustomDependencies ( _
    permissionRequestScope As Uri, _
    hostWeb As SPWeb _
) As IEnumerable(Of SPCapability)
'Usage
Dim permissionRequestScope As Uri
Dim hostWeb As SPWeb
Dim returnValue As IEnumerable(Of SPCapability)

returnValue = Me.GetMissingCustomDependencies(permissionRequestScope, _
    hostWeb)
protected virtual IEnumerable<SPCapability> GetMissingCustomDependencies(
    Uri permissionRequestScope,
    SPWeb hostWeb
)

Parameters

  • permissionRequestScope
    Type: System.Uri

    The permission request scope.

Return value

Type: System.Collections.Generic.IEnumerable<SPCapability>
The missing capabilities.

Remarks

If there is no missing capability dependency, this method should return an empty enumerable. This method should not return the capabilities whose statuses are enabled.

See also

Reference

SPAppPermissionProvider class

SPAppPermissionProvider members

Microsoft.SharePoint.Administration namespace