SPAppPrincipalManager.GetManager method

Creates a new instance of the SPAppPrincipalManager class.

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

Syntax

'Declaration
Public Shared Function GetManager ( _
    web As SPWeb _
) As SPAppPrincipalManager
'Usage
Dim web As SPWeb
Dim returnValue As SPAppPrincipalManager

returnValue = SPAppPrincipalManager.GetManager(web)
public static SPAppPrincipalManager GetManager(
    SPWeb web
)

Parameters

Return value

Type: Microsoft.SharePoint.SPAppPrincipalManager
A new instance of the SPAppPrincipalManager class for the specified SPWeb object.

Remarks

The SPAppPrincipalManager object is scoped to the service context of the corresponding Web. The input web parameter is used to ensure that the caller has permissions to manage app principals.

See also

Reference

SPAppPrincipalManager class

SPAppPrincipalManager members

Microsoft.SharePoint namespace