Share via


TeamFoundationRequestContext.AuthenticatedUserName Property

This gives the name of the user making the request. If there was not an authenticated user the username is returned as [String.Empty].

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property AuthenticatedUserName As String
public virtual string AuthenticatedUserName { get; }
public:
virtual property String^ AuthenticatedUserName {
    String^ get ();
}
abstract AuthenticatedUserName : string with get 
override AuthenticatedUserName : string with get
function get AuthenticatedUserName () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace