setUser Method (SQLServerDataSource)

Download JDBC driver

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 SQL Server. If user name value is not set, the getUser method returns the default value of null.

See Also

SQLServerDataSource Members
SQLServerDataSource Class