Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Authentication via COM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
SQL Authentication via COM
Divers
Thread ID:
00647016
Message ID:
00647016
Vues:
44
Is there any way to use the clients NT authentication to create a COM object on a different server, then have the COM object log into SQL server using the clients NT id.

Here's an example of what I'm trying to do from the COM server.
loConnection = CREATEOBJECT('ADODB.Connection')

WITH loConnection
	.Provider = 'SQLOLEDB'
	.Properties("Data Source").Value 		= 'BDGGISDEV'
	.Properties("Initial Catalog").Value	= 'bdggis'
	.Properties("Integrated Security").Value= "SSPI"	
	.Open()
ENDWITH
Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform