<?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>Search results matching tags 'support', 'DBXL', 'browser', 'data', and 'SharePoint'</title><link>https://www.infopathdev.com:443/search/SearchResults.aspx?o=DateDescending&amp;tag=support,DBXL,browser,data,SharePoint&amp;orTags=0</link><description>Search results matching tags 'support', 'DBXL', 'browser', 'data', and 'SharePoint'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Using a SQL data connection to find a user's email in Active Directory</title><link>https://www.infopathdev.com:443/forums/p/25175/87277.aspx#87277</link><pubDate>Wed, 20 Feb 2013 16:50:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87277</guid><dc:creator>Parrrott</dc:creator><description>Here is my scenario:  I have created a Timesheet form in Infopath 2010 that has a receive data connection to a SQL database, which I set up through DBXL.  The SQL table my form is connected to contains a hierarchy for my company.  In the form, I have a dropdown box that lists all of the Employee ID Numbers in the SQL table and when a user selects their ID Number,  their supervisor&amp;#39;s name is automatically assigned to a hidden &amp;quot;Supervisor&amp;quot; field in the form.  All of this works perfectly thanks to DBXL.

My plan was to use the &amp;quot;Supervisor&amp;quot; field to query Active Directory in order to receive that supervisor&amp;#39;s email address, so that an email would be sent to the appropriate supervisor when a user submits a Timesheet form.  I was trying to use the FindUsersByName operation to accomplish this, but this will not return a result when I use the supervisor&amp;#39;s name I received from SQL to query Active Directory.  I&amp;#39;m assuming this is because the name is in a SQL data type instead of plain text, as the FindUsersByName query does work if I type a name into the search instead of using the &amp;quot;Supervisor&amp;quot; field.  Does anyone know of a way to make this work?

Thanks in advance for any assistance.</description></item></channel></rss>