Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.15 KB

File metadata and controls

36 lines (27 loc) · 1.15 KB
title getUser Method (SQLServerDataSource)
description getUser Method (SQLServerDataSource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.getUser
apitype 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