Share via


AppPrincipalManager.GetAppPrincipalCredentials method

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

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetAppPrincipalCredentials ( _
    appPrincipal As AppPrincipal _
) As IEnumerable(Of AppPrincipalCredentialReference)
'Usage
Dim instance As AppPrincipalManager
Dim appPrincipal As AppPrincipal
Dim returnValue As IEnumerable(Of AppPrincipalCredentialReference)

returnValue = instance.GetAppPrincipalCredentials(appPrincipal)
public IEnumerable<AppPrincipalCredentialReference> GetAppPrincipalCredentials(
    AppPrincipal appPrincipal
)

Parameters

Return value

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

See also

Reference

AppPrincipalManager class

AppPrincipalManager members

Microsoft.SharePoint.Client namespace