SPAppPrincipalManager.AddAppPrincipalCredential - Méthode
Ajoute les nouvelles informations d'identification pour une application existante principale.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Sub AddAppPrincipalCredential ( _
appPrincipal As SPAppPrincipal, _
credential As SPAppPrincipalCredential _
)
'Utilisation
Dim instance As SPAppPrincipalManager
Dim appPrincipal As SPAppPrincipal
Dim credential As SPAppPrincipalCredential
instance.AddAppPrincipalCredential(appPrincipal, _
credential)
public void AddAppPrincipalCredential(
SPAppPrincipal appPrincipal,
SPAppPrincipalCredential credential
)
Paramètres
appPrincipal
Type : Microsoft.SharePoint.SPAppPrincipalL'entité app.
credential
Type : Microsoft.SharePoint.SPAppPrincipalCredentialLes informations d'identification à ajouter.