Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.89 KB

File metadata and controls

52 lines (40 loc) · 1.89 KB
title setIntegratedSecurity 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.setIntegratedSecurity
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 4c968ee4-b041-424a-bf69-cc2c4a4f51c6
caps.latest.revision 12
author MightyPen
ms.author genemi
manager craigg

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