<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to use Windows Authentication to connect to a server? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/380931#M63142</link>
    <description>&lt;P&gt;It should be possible if the ODBC driver is set up correctly.&amp;nbsp; I would suggest connecting through the UI (Open Database or Query Builder) and then looking at the Source script that results from a query that you perform.&amp;nbsp; This script is in the jmp data table, in the leftmost upper pane.&amp;nbsp; You can right click to edit the script.&amp;nbsp; In that, you will see connection information that you can use for your JSL call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 16:50:51 GMT</pubDate>
    <dc:creator>briancorcoran</dc:creator>
    <dc:date>2021-04-29T16:50:51Z</dc:date>
    <item>
      <title>Is it possible to use Windows Authentication to connect to a server?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/380690#M63113</link>
      <description>&lt;P&gt;Is there a way to use Windows authentication to create a connection?&lt;/P&gt;&lt;P&gt;This is what I'm trying to use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;conn = Create Database Connection ("DRIVER=SQL Server;SERVER=" || server || ";DATABASE=" || db || ";UID=" || uid || ";PWD=" || pwd || ";");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:45:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/380690#M63113</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2023-06-09T19:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Windows Authentication to connect to a server?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/380931#M63142</link>
      <description>&lt;P&gt;It should be possible if the ODBC driver is set up correctly.&amp;nbsp; I would suggest connecting through the UI (Open Database or Query Builder) and then looking at the Source script that results from a query that you perform.&amp;nbsp; This script is in the jmp data table, in the leftmost upper pane.&amp;nbsp; You can right click to edit the script.&amp;nbsp; In that, you will see connection information that you can use for your JSL call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 16:50:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/380931#M63142</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2021-04-29T16:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Windows Authentication to connect to a server?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/381107#M63162</link>
      <description>&lt;P&gt;Setting up the ODBC was the first step that I needed, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there this is what the script looked like for me:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open Database(
	"DSN=[The name you gave ODBC];Description=[Description if you set one];Trusted_Connection=Yes;APP=JMP;WSID=[PC NAME];DATABASE=[DB Name];",
	"[Query]"
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Overall though I would follow Brian's recommendation about using the UI and than you can just copy from there and apply it as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response Brian!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 22:24:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-use-Windows-Authentication-to-connect-to-a/m-p/381107#M63162</guid>
      <dc:creator>Herrera5238</dc:creator>
      <dc:date>2021-04-29T22:24:36Z</dc:date>
    </item>
  </channel>
</rss>

