AppPrincipalManager.AddAppPrincipalCredential - Méthode
Ajoute une nouvelle information d'identification pour une application existante principale.
Espace de noms : Microsoft.SharePoint.Client
Assembly : Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Sub AddAppPrincipalCredential ( _
appPrincipal As AppPrincipal, _
credential As AppPrincipalCredential _
)
'Utilisation
Dim instance As AppPrincipalManager
Dim appPrincipal As AppPrincipal
Dim credential As AppPrincipalCredential
instance.AddAppPrincipalCredential(appPrincipal, _
credential)
public void AddAppPrincipalCredential(
AppPrincipal appPrincipal,
AppPrincipalCredential credential
)
Paramètres
appPrincipal
Type : Microsoft.SharePoint.Client.AppPrincipalL'entité de l'application.
credential
Type : Microsoft.SharePoint.Client.AppPrincipalCredentialLes informations d'identification à ajouter.