SPAppPrincipalManager.GetAppPrincipalCredentials-Methode
Ruft einen Verweis auf die einzelnen app-Prinzipal zugeordnete Anmeldeinformationen ab.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetAppPrincipalCredentials ( _
appPrincipal As SPAppPrincipal _
) As IEnumerable(Of SPAppPrincipalCredentialReference)
'Usage
Dim instance As SPAppPrincipalManager
Dim appPrincipal As SPAppPrincipal
Dim returnValue As IEnumerable(Of SPAppPrincipalCredentialReference)
returnValue = instance.GetAppPrincipalCredentials(appPrincipal)
public IEnumerable<SPAppPrincipalCredentialReference> GetAppPrincipalCredentials(
SPAppPrincipal appPrincipal
)
Parameter
appPrincipal
Typ: Microsoft.SharePoint.SPAppPrincipalDie app-Prinzipal.
Rückgabewert
Typ: System.Collections.Generic.IEnumerable<SPAppPrincipalCredentialReference>
Eine Enumeration von Anmeldeinformationen Referenzen für den angegebenen app-Prinzipal.