System.Windows.Forms.SystemInformation.UserDomainName Property

Gets the name of the domain the user belongs to.

Syntax

public static string UserDomainName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If a local user account exists with the same name as the user name, this property gets the computer name.

Note:

This is not supported on Windows 98 and Windows Millennium Edition.

Requirements

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