skip to main content
Configuring and connecting to data sources : Authentication : Basic authentication
  

Try DataDirect Drivers Now

Basic authentication

Basic authentication can be used to authenticate with TeamCity.
To configure the driver to use basic authentication:
*Set the Server Name (ServerName) option to the base URL of the TeamCity instance to which you want to issue requests. For example, https://teamcity.company.com.
*Set the Authentication Method (AuthenticationMethod) option to 0 (Basic), the default.
*Set the User (LogonID) option to specify the name of the user connecting to the service.
*Set the Password (Password) option to specify the password for the user connecting to the service.
Note: The User and Password options are not required to be stored in the connection string. They can also be passed separately by the application.
The following example show the connection information required to establish a session using basic authentication.
Connection string
DRIVER=DataDirect 8.0 TeamCity;ServerName=teamcity.company.com;
User=jsmith;Password=secret;
odbc.ini
[TeamCity]
Driver=ODBCHOME/lib/ivteamcity28.so
Description=DataDirect 8.0 TeamCity