Freigeben über


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

Rückgabewert

Typ: Microsoft.SharePoint.SPAppPrincipal
Der app-Prinzipal.

Siehe auch

Referenz

SPAppRequestContext Klasse

SPAppRequestContext-Member

Microsoft.SharePoint-Namespace