TeamFoundationServer.AuthenticatedUserIdentity Property

Gets the authenticated user's identity.

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

public Identity AuthenticatedUserIdentity { get; }

Property Value

Type: Microsoft.TeamFoundation.Server.Identity
The identity of the authenticated user.

AuthenticatedUserIdentity will contact the server to get the identity of the user if the identity of the user has not already been retrieved.

Show: