System.Windows.Forms.SystemInformation.UserName Property

Gets the user name associated with the current thread.

Syntax

public static string UserName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Note:

This property is supported only on Windows NT workstation, Windows 2000, Windows XP, and the Windows Server 2003 family.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0