SPAppPrincipalManager.LookupAppPrincipal-Methode
Sucht einen app-Prinzipal.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function LookupAppPrincipal ( _
identityProvider As SPAppPrincipalIdentityProvider, _
appPrincipalName As SPAppPrincipalName _
) As SPAppPrincipal
'Usage
Dim instance As SPAppPrincipalManager
Dim identityProvider As SPAppPrincipalIdentityProvider
Dim appPrincipalName As SPAppPrincipalName
Dim returnValue As SPAppPrincipal
returnValue = instance.LookupAppPrincipal(identityProvider, _
appPrincipalName)
public SPAppPrincipal LookupAppPrincipal(
SPAppPrincipalIdentityProvider identityProvider,
SPAppPrincipalName appPrincipalName
)
Parameter
identityProvider
Typ: Microsoft.SharePoint.SPAppPrincipalIdentityProviderDer Identitätsanbieter des app-Prinzipals.
appPrincipalName
Typ: Microsoft.SharePoint.SPAppPrincipalNameDer Prinzipalname app.
Rückgabewert
Typ: Microsoft.SharePoint.SPAppPrincipal
Die app-Prinzipal oder ein Nullverweis (Nothing in Visual Basic) , wenn eine konnte für die angegebene Identität Anbieter und app principal Name, nicht gefunden werden.