Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.19 KB

getuser-method-sqlserverdatasource.md

File metadata and controls

36 lines (27 loc) · 1.19 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
getUser Method (SQLServerDataSource)
getUser Method (SQLServerDataSource)
David-Engel
v-davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerDataSource.getUser
Assembly

getUser Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Returns the user name that is used to connect the data source.

Syntax

  
public java.lang.String getUser()  

Return Value

A String that contains the user name.

Remarks

The setUser method sets the user name that will be used when connecting to the instance of [!INCLUDEssNoVersion]. If user name value is not set, the getUser method returns the default value of null.

See Also

SQLServerDataSource Members
SQLServerDataSource Class