| title | setUser Method (SQLServerDataSource) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | d2ea7906-2d10-438d-aa51-f576eea923c7 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Sets the user name that is used to connect the data source.
public void setUser(java.lang.String user)
user
A String that contains the user name.
The setUser method sets the user name that will be used to connect to [!INCLUDEssNoVersion]. If user name value is not set, the getUser method returns the default value of null.