SPAppPrincipalManager.GetAppPrincipalCredentials method

Gets a reference to each credential associated with an app principal.

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
)

Parameters

Return value

Type: System.Collections.Generic.IEnumerable<SPAppPrincipalCredentialReference>
An enumeration of credential references for the specified app principal.

See also

Reference

SPAppPrincipalManager class

SPAppPrincipalManager members

Microsoft.SharePoint namespace