Universal Windows Service Class Library

ExtendedInstallContext.Username Property

Get or set the username of user account.

public string Username {get; set;}

Property Value

A string containing name of user with which service should log on.

Remarks

Get or set the username of user account.

If no user name and password are required you could set this property to null.

See Also

ExtendedInstallContext Class | uws.Install Namespace