Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.71 KB

setintegratedsecurity-method-sqlserverdatasource.md

File metadata and controls

43 lines (31 loc) · 1.71 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setIntegratedSecurity Method (SQLServerDataSource)
setIntegratedSecurity Method (SQLServerDataSource)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerDataSource.setIntegratedSecurity
Assembly

setIntegratedSecurity Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Sets a Boolean value that indicates if the integratedSecurity property is enabled.

Syntax

  
public void setIntegratedSecurity(boolean enable)  

Parameters

enable

true if integratedSecurity is enabled. Otherwise, false.

Remarks

Set to "true" to indicate that Windows credentials will be used by [!INCLUDEssNoVersion] to authenticate the user of the application. If "true", the [!INCLUDEjdbcNoVersion] will search the local computer credential cache for credentials that have already been provided at the computer or network logon. If "false", the username and password must be supplied.

Note

This property is only supported on [!INCLUDEmsCoName] Windows operating systems.

For more information about using integrated authentication, see Building the Connection URL.

See Also

SQLServerDataSource Members
SQLServerDataSource Class