ServiceInstallerDialog.Username Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 Value

Type: System.String

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.

.NET Framework
Available since 1.1
Return to top