WebRequestInformation.ThreadAccountName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string that represents the Windows logon name of the user on whose behalf the code is being run.
public:
property System::String ^ ThreadAccountName { System::String ^ get(); };
public string ThreadAccountName { get; }
member this.ThreadAccountName : string
Public ReadOnly Property ThreadAccountName As String
Property Value
The Windows logon name of the user on whose behalf the code is being run.
Remarks
The value of this property is determined by the current WindowsIdentity object's Name property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.