SPAppRequestContext.GetAppPrincipal-Methode
Ruft den app-Prinzipal den Anforderungskontext app zugeordnet.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetAppPrincipal ( _
serviceContext As SPServiceContext _
) As SPAppPrincipal
'Usage
Dim instance As SPAppRequestContext
Dim serviceContext As SPServiceContext
Dim returnValue As SPAppPrincipal
returnValue = instance.GetAppPrincipal(serviceContext)
public SPAppPrincipal GetAppPrincipal(
SPServiceContext serviceContext
)
Parameter
serviceContext
Typ: Microsoft.SharePoint.SPServiceContextDer Dienstkontext.
Rückgabewert
Typ: Microsoft.SharePoint.SPAppPrincipal
Der app-Prinzipal.