Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.34 KB

File metadata and controls

45 lines (36 loc) · 1.34 KB
title getUser Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.suite sql
ms.technology connectivity
ms.tgt_pltfrm
ms.topic conceptual
apiname
SQLServerDataSource.getUser
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 3513dd7f-6ae5-4010-bde0-454ac4365bce
caps.latest.revision 9
author MightyPen
ms.author genemi
manager craigg

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