# UserName Property

## Overloads

| [UserName](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IConnection.UserName.htm#Qlik_Engine_IConnection_UserName) |  | Name of the user who creates the connection.<br><br>This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.<br><br>A call to `GetConnection Method` does not return the user name.<br><br>JSON property name: qUserName |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IConnection.UserName.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IConnection.UserName.htm)

## UserName

Name of the user who creates the connection.

This parameter is optional; it is only used for OLEDB, ODBC and CUSTOM connections.

A call to `GetConnection Method` does not return the user name.

JSON property name: qUserName

### Declaration

```

          string UserName { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| System.String |  |