編輯

共用方式為


WebRequestInformation.ThreadAccountName Property

Definition

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