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 name.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public ReadOnly Property AuthenticatedUserName As String
public string AuthenticatedUserName { get; }
public:
property String^ AuthenticatedUserName {
String^ get ();
}
member AuthenticatedUserName : string with get
function get AuthenticatedUserName () : String
Property Value
Type: System.String
The authenticated user name.
Remarks
AuthenticatedUserName will contact the server to get the user name if the user name 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.