<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Using getuserprofilebyname with Non-AD accounts</title><link>https://www.infopathdev.com:443/forums/thread/65774.aspx</link><pubDate>Wed, 06 Apr 2011 21:50:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65774</guid><dc:creator>edibari</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65774</wfw:commentRss><description>&lt;p&gt;I started looking into UDC, but came up with a relatively simple approach this morning:&lt;/p&gt;&lt;p&gt;I have the user &amp;#39;seamlessly&amp;#39; submit the form at the beginning, before any user information is needed.&amp;nbsp; On the subsequent views I use a data connection to look up information about the current form, and pull the &amp;#39;created by&amp;#39; user name.&amp;nbsp; The only downside is that I can&amp;#39;t apply the &amp;#39;use active form only&amp;#39; filter for the connection, since it seems the form must be closed and re-opened for it to work.&amp;nbsp; Overall, it&amp;#39;s a simple codeless approach.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for your suggestion. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Using getuserprofilebyname with Non-AD accounts</title><link>https://www.infopathdev.com:443/forums/thread/65738.aspx</link><pubDate>Tue, 05 Apr 2011 12:30:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65738</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65738</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Have you tried converting the data connection to UDC?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Using getuserprofilebyname with Non-AD accounts</title><link>https://www.infopathdev.com:443/forums/thread/65723.aspx</link><pubDate>Mon, 04 Apr 2011 17:59:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65723</guid><dc:creator>edibari</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65723</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;InfoPath Dev,&lt;/p&gt;&lt;p&gt;&amp;nbsp;We have a SharePoint 2007 site that uses &lt;a href="http://www.9starresearch.com/products/activesharefs"&gt;ActiveShareFs&lt;/a&gt; to create SharePoint accounts from an external Shibboleth authentication system.&amp;nbsp; Inside of InfoPath, I can&amp;#39;t seem to use&lt;a href="http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx"&gt; the getuserprofilebyname method &lt;/a&gt;to retrieve the current logged in user&amp;#39;s information for these non-AD account types in browser-based forms.&amp;nbsp; I&amp;#39;m hoping to do this without using managed code.&amp;nbsp; Here are a couple of notes:&lt;/p&gt;&lt;p&gt;1. This method, as expected, works fine for AD accounts&lt;br /&gt;2. If I lookup the profile by email address or GUID, I&amp;#39;m able to retrieve all the information.&lt;br /&gt;3. The profile is listed normally in the User Information List&lt;br /&gt;4. In InfoPath preview mode and InfoPath-based forms, the current user&amp;#39;s information populates for these non-AD account types, but not in browser-based forms.&lt;br /&gt;5. When executing the query in browser-based forms, nothing occurs.&amp;nbsp; According to FireBug, the Ajax call returns 200.&lt;/p&gt;&lt;p&gt;I believe I&amp;#39;ve hit on all the major points.&amp;nbsp; Also, it seems I can&amp;#39;t just use the username() function, since that seems to have the same limitations that I&amp;#39;m experiencing with the getuserprofilebyname web service calls.&amp;nbsp; I&amp;#39;d appreciate any suggestions or tips.&lt;/p&gt;&lt;p&gt;&amp;nbsp;-Eric &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>