Partager via


TfsConnection.GetAuthenticatedIdentity, méthode

Obtient l'identité qui a été authentifiée auprès du serveur.

Espace de noms :  Microsoft.TeamFoundation.Client
Assembly :  Microsoft.TeamFoundation.Client (dans Microsoft.TeamFoundation.Client.dll)

Syntaxe

'Déclaration
Public Sub GetAuthenticatedIdentity ( _
    <OutAttribute> ByRef identity As TeamFoundationIdentity _
)
public void GetAuthenticatedIdentity(
    out TeamFoundationIdentity identity
)

Paramètres

Notes

When Team Foundation Server impersonation is used, the identity that is returned will be the identity that is performing the impersonation, not the user who is making the call. Therefore, the AuthorizedIdentity is usually the correct identity to use from this class.

Sécurité .NET Framework

Voir aussi

Référence

TfsConnection Classe

Microsoft.TeamFoundation.Client, espace de noms