<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: auto pop Infopath 2010 form intergrated with SQL 2012 based on logged in user.</title><link>https://www.infopathdev.com:443/forums/thread/92492.aspx</link><pubDate>Sun, 25 Aug 2013 23:31:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92492</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=92492</wfw:commentRss><description>&lt;p&gt;Hi Richaanth1,&lt;/p&gt;
&lt;p&gt;Sorry for the delay in responding.&lt;/p&gt;
&lt;p&gt;Unfortunately, using BCS on top of the database won&amp;#39;t guarantee security. &lt;/p&gt;
&lt;p&gt;You could use a Web service such as Qdabra&amp;#39;s DBXL (&lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;http://www.qdabra.com/en/products/DBXL.aspx&lt;/a&gt;) to easily set this up. There&amp;#39;s a generic QueryDB Web service with various methods and lots of information under downloads. The QueryDB Web service would allow anyone to query it, but they would have to know the query syntax. Since a browser form doesn&amp;#39;t expose the Web service call, it&amp;#39;s practically secure, and more so if the users don&amp;#39;t have access to the XSN. However, if they guess the Web service, they could use it to query data. To make this totally bulletproof,&amp;nbsp;you would have to either customize permissions for QueryDB (one of the articles&amp;nbsp;in downloads&amp;nbsp;describes this), or use QueryDocumentNodeSets and&amp;nbsp;store the data to be queried in XML.&amp;nbsp; We have many customers that use both.&lt;/p&gt;
&lt;p&gt;I think the QueryDB approach is easiest for browser forms since users won&amp;#39;t probably guess the Web service and the form would force query using their username. For perfect security, you could customize the QueryDB permissions or convert your data into XML (using our XLStoXML tool) and call QueryDocumentNodeSets.&lt;/p&gt;
&lt;p&gt;We&amp;#39;d be happy to help you implement either solution.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</description></item><item><title>auto pop Infopath 2010 form intergrated with SQL 2012 based on logged in user.</title><link>https://www.infopathdev.com:443/forums/thread/92351.aspx</link><pubDate>Mon, 19 Aug 2013 16:20:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92351</guid><dc:creator>richaanth1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92351.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=92351</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am building a form to be used in a workflow in sharepoint 2013 for approval of expenses submitted.&lt;/p&gt;&lt;p&gt;I have created the form in InfoPath.&lt;/p&gt;&lt;p&gt;The problem is I want to auto populate the information in the form from an SQL 2012 database based on the user that has logged in.&lt;/p&gt;&lt;p&gt;I need this for security reasons so others cannot see others information and rate of pay.&lt;/p&gt;&lt;p&gt;Is this possible. I have tried other methods of doing auto populate based on pulling information from Active directory but I do not have full rights to AD to pull information and i have full control over the SQL 2012 box.&lt;/p&gt;&lt;p&gt;Any help is greatly appreciated.&lt;/p&gt;</description></item></channel></rss>