TopshelfSettingsExtensions.

UseUsername(TopshelfSettings, string) Method

Summary

Sets the credentials to use when connecting
Assembly
Cake.Topshelf.dll
Namespace
Cake.Topshelf
Containing Type
TopshelfSettingsExtensions

Syntax

public static TopshelfSettings UseUsername(this TopshelfSettings settings, string username)

Parameters

Name Type Description
settings TopshelfSettings The installation settings.
username string The username to connect with.

Return Value

Type Description
TopshelfSettings The same TopshelfSettings instance so that multiple calls can be chained.