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.
This gives the name of the user making the request. If there was not an authenticated user the username is returned as 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
- 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.