AutoMergeCredentials.

AuthenticationBasic(string, string) Method

Summary

Returns credentials for basic authentication. Can only be used for on-premise Team Foundation Server configured for basic authentication. See https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/tfs-basic-auth.

Syntax

public AutoMergeCredentials AuthenticationBasic(string userName, string password)

Parameters

Name Type Description
userName string User name.
password string Password.

Return Value

Type Description
AutoMergeCredentials Same object instance.