Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 string ThreadAccountName { get; }

Property Value

Type: System.String
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft