AuthenticatorBase.GetCredential - Méthode
Obtient des informations d'identification pour l'authentification basée sur le mot de passe
Espace de noms : Microsoft.SharePoint.Client
Assembly : Microsoft.SharePoint.Client.Phone.Runtime (dans Microsoft.SharePoint.Client.Phone.Runtime.dll)
Syntaxe
'Déclaration
Public MustOverride Function GetCredential ( _
uri As Uri, _
authType As String _
) As NetworkCredential
'Utilisation
Dim instance As AuthenticatorBase
Dim uri As Uri
Dim authType As String
Dim returnValue As NetworkCredential
returnValue = instance.GetCredential(uri, _
authType)
public abstract NetworkCredential GetCredential(
Uri uri,
string authType
)
Paramètres
uri
Type : System.UriURI à partir duquel récupérer les informations d'identification.
authType
Type : System.StringLe type d'authentification.
Valeur renvoyée
Type : System.Net.NetworkCredential
Les informations d'identification.