AppPrincipalManager.GetManager-Methode
Erstellt eine neue Instanz der Klasse AppPrincipalManager .
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
)
Parameter
context
Typ: Microsoft.SharePoint.Client.ClientRuntimeContextDer Laufzeitkontext.
web
Typ: Microsoft.SharePoint.Client.WebDas Kontextobjekt, das zum Verwalten von app Hauptbenutzer erforderlich ist.
Rückgabewert
Typ: Microsoft.SharePoint.Client.AppPrincipalManager
Eine neue Instanz der Klasse AppPrincipalManager für das angegebene Web Objekt.