DeploySettingsExtensions.

UseUsername(DeploySettings, string) Method

Summary

Sets the credentials to use when connecting
Assembly
Cake.WebDeploy.dll
Namespace
Cake.WebDeploy
Containing Type
DeploySettingsExtensions

Syntax

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

Parameters

Name Type Description
settings DeploySettings The publish settings.
username string The username to connect with.

Return Value

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