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.UriThe permission request scope.
hostWeb
Type: Microsoft.SharePoint.SPWebThe website that the SharePoint app is to be installed on.
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.