WebRequestInformation.ThreadAccountName Property

Gets a string that represents the Windows logon name of the user on whose behalf the code is being run.

Namespace: System.Web.Management
Assembly: System.Web (in system.web.dll)

public:
property String^ ThreadAccountName {
	String^ get ();
}
/** @property */
public String get_ThreadAccountName ()

public function get ThreadAccountName () : String

Not applicable.

Property Value

The Windows logon name of the user on whose behalf the code is being run.

The value of this property is determined by the current WindowsIdentity object's Name property.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: