Share via


SPAppPermissionProvider.RemovePermission method

Removes the app's permission.

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

Syntax

'Declaration
Public Overridable Sub RemovePermission ( _
    hostWeb As SPWeb, _
    appId As String _
)
'Usage
Dim instance As SPAppPermissionProvider
Dim hostWeb As SPWeb
Dim appId As String

instance.RemovePermission(hostWeb, appId)
public virtual void RemovePermission(
    SPWeb hostWeb,
    string appId
)

Parameters

See also

Reference

SPAppPermissionProvider class

SPAppPermissionProvider members

Microsoft.SharePoint.Administration namespace