SPAppPrincipalPermissionsManager constructor
Initializes a new instance of the SPAppPrincipalPermissionsManager class for a given Web.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
web As SPWeb _
)
'Usage
Dim web As SPWeb
Dim instance As New SPAppPrincipalPermissionsManager(web)
public SPAppPrincipalPermissionsManager(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe Web to which permission is granted the app principal.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The web parameter value is a null reference (Nothing in Visual Basic). |
See also
Reference
SPAppPrincipalPermissionsManager class