# Connection

## Properties

| Name | Description | Type |
| --- | --- | --- |
| qId | Identifier of the connection.<br>Is generated by the engine and is unique. | String |
| qName | Name of the connection.<br>This parameter is mandatory and must be set when creating or modifying a connection. | String |
| qConnectionString | One of:<br><br><ul><li>ODBC CONNECT&nbsp;TO [&lt;provider name&gt;]</li><li>OLEDB CONNECT&nbsp;TO [&lt;provider name&gt;]</li><li>CUSTOM&nbsp;CONNECT TO [&lt;provider name&gt;]</li><li>"&lt;local absolute or relative path, UNC path&gt;"</li><li>"&lt;URL&gt;"</li></ul><br><br>Connection string.<br>This parameter is mandatory and must be set when creating or modifying a connection. | String |
| qType | One of:<br><br><ul><li>ODBC</li><li>OLEDB</li><li>&lt;Name of the custom connection file&gt;</li><li>folder</li><li>internet</li></ul><br><br>Type of the connection.<br>This parameter is mandatory and must be set when creating or modifying a connection.<br>For ODBC, OLEDB and custom connections, the engine checks that the connection type matches the connection string.<br>The type is not case sensitive. | String |
| qUserName | Name of the user who creates the connection.<br>This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.<br>A call to *GetConnection Method* does not return the user name. | String |
| qPassword | Password of the user who creates the connection.<br>This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.<br>A call to *GetConnection Method* does not return the password. | String |
| qModifiedDate | Is generated by the engine.<br>Creation date of the connection or last modification date of the connection. | String |
| qMeta | Layout for *NxMetaDef*. | [NxMeta](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-nxmeta.htm) |
| qLogOn | Select which user credentials to use to connect to the source.<br><br><ul><li>LOG_ON_SERVICE_USER: Disables</li><li>LOG_ON_CURRENT_USER: Enables</li></ul><br><br>One of:<br><br><ul><li>LOG_ON_SERVICE_USER</li><li>LOG_ON_CURRENT_USER</li></ul> | String |