ServiceInstallerDialog.Username Property

Gets or sets the user name for the service account form.

Namespace: System.ServiceProcess.Design
Assembly: System.ServiceProcess (in system.serviceprocess.dll)

public string Username { get; set; }
/** @property */
public String get_Username ()

/** @property */
public void set_Username (String value)

public function get Username () : String

public function set Username (value : String)

Not applicable.

Property Value

A string representing the user name in the service account form. The default is an empty string ("").

The ServiceInstallerDialog does not validate the Username or Password values.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions