TeamFoundationServer.AuthenticatedUserIdentity Property
Gets the authenticated user's identity.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public ReadOnly Property AuthenticatedUserIdentity As Identity
public Identity AuthenticatedUserIdentity { get; }
public:
property Identity^ AuthenticatedUserIdentity {
Identity^ get ();
}
member AuthenticatedUserIdentity : Identity
function get AuthenticatedUserIdentity () : Identity
Property Value
Type: Microsoft.TeamFoundation.Server.Identity
The identity of the authenticated user.
Remarks
AuthenticatedUserIdentity will contact the server to get the identity of the user if the identity of the user has not already been retrieved.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.