AppPrincipalManager.GetManager method
Creates a new instance of the AppPrincipalManager class.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Function GetManager ( _
context As ClientRuntimeContext, _
web As Web _
) As AppPrincipalManager
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim returnValue As AppPrincipalManager
returnValue = AppPrincipalManager.GetManager(context, _
web)
public static AppPrincipalManager GetManager(
ClientRuntimeContext context,
Web web
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe runtime context.
web
Type: Microsoft.SharePoint.Client.WebThe context object required to manage app principals.
Return value
Type: Microsoft.SharePoint.Client.AppPrincipalManager
A new instance of the AppPrincipalManager class for the specified Web object.