Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.43 KB

File metadata and controls

51 lines (41 loc) · 1.43 KB
title setUser Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerDataSource.setUser
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid d2ea7906-2d10-438d-aa51-f576eea923c7
caps.latest.revision 9
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

setUser Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public void setUser(java.lang.String user)  

Parameters

user

A String that contains the user name.

Remarks

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.

See Also

SQLServerDataSource Members
SQLServerDataSource Class