Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As TeamFoundationServer
Dim value As Identity
value = instance.AuthenticatedUserIdentity
public Identity AuthenticatedUserIdentity { get; }
public:
property Identity^ AuthenticatedUserIdentity {
Identity^ get ();
}
public function get AuthenticatedUserIdentity () : Identity
Property Value
Type: Microsoft.TeamFoundation.Server.Identity
The authenticated user Identity.
Remarks
AuthenticatedUserIdentity will contact the server to get the user's identity if the user's identity 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.