<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: GetUserProfileByName - AccountID being used in filter giving unexpected results</title><link>https://www.infopathdev.com:443/forums/thread/118236.aspx</link><pubDate>Thu, 01 Feb 2018 15:52:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118236</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118236</wfw:commentRss><description>Great, glad you have it working! One tip for others reading this - putting the data source on the form (in this case, the data fields for GetUserProfileByName) can help debug. :)</description></item><item><title>Re: GetUserProfileByName - AccountID being used in filter giving unexpected results</title><link>https://www.infopathdev.com:443/forums/thread/118235.aspx</link><pubDate>Thu, 01 Feb 2018 15:38:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118235</guid><dc:creator>Crozzer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118235</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorted this one myself. &lt;/p&gt;&lt;p&gt;The GetUserProfileByName service returns ALL the properties from AD for that user and this includes their manager. So what was happening was that my filter was using both AccountId&amp;#39;s of the user AND their manager. &lt;/p&gt;&lt;p&gt;Resolved by setting a text field to just be the accountId of the user in form load&amp;nbsp;and then filtering the drop down on that.&lt;/p&gt;</description></item><item><title>GetUserProfileByName - AccountID being used in filter giving unexpected results</title><link>https://www.infopathdev.com:443/forums/thread/118228.aspx</link><pubDate>Wed, 31 Jan 2018 17:14:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118228</guid><dc:creator>Crozzer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118228.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118228</wfw:commentRss><description>&lt;p&gt;Hi I have built a time sheet system in Sharepoint 2013 and I am getting some unexpected results for some users (not all).&lt;/p&gt;&lt;p&gt;Basically I have one list which is a basic sharepoint list which lists Project names and has a field &amp;quot;Assigned to&amp;quot; which is a people picker which can accept multiple people onto one project. &lt;/p&gt;&lt;p&gt;Secondly I have a timesheet entry list where individuals assign time against their projects. This list uses an infopath (2013) form and has a drop down which uses a data connection to the first list. This drop down is being filtered by  so that the current user will only see the projects that have been assigned to them. &lt;/p&gt;&lt;p&gt;In the infopath form I am using rules on form load to set the query field of the GetUserProfileByName AccountName to the AccountID of the creator of the form. So that I get hold of the person currently logged in. Then in the dropdown field for the projects,  I am filtering on where the AccountID in the Project list lookup is equal to the value of the Account field for the person logged on.&lt;/p&gt;&lt;p&gt;The odd behaviour I am experiencing is that this works for some staff but not all. Some people seem to be returning their projects and the projects of their managers! &lt;/p&gt;&lt;p&gt;Does anyone have any ideas at all? Thanks&lt;/p&gt;</description></item></channel></rss>