<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Unable to get the phone number from Active directory for an infopath form?</title><link>https://www.infopathdev.com:443/forums/thread/58569.aspx</link><pubDate>Thu, 02 Sep 2010 06:33:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58569</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58569</wfw:commentRss><description>&lt;p&gt;Are you sure that your Active Directory has that property? If you are testing locally, it may not. &lt;/p&gt;</description></item><item><title>Unable to get the phone number from Active directory for an infopath form?</title><link>https://www.infopathdev.com:443/forums/thread/58226.aspx</link><pubDate>Mon, 23 Aug 2010 06:59:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58226</guid><dc:creator>Keerthi rao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58226</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have designed an infopath form in which information is pulled from Activedirectory(AD) on loading&amp;nbsp;the form,&lt;/p&gt;
&lt;p&gt;i can get all the information&amp;nbsp;Except the&lt;strong&gt; phonenumber,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;whenever i load the form i am getting a &lt;strong&gt;Run time error&lt;/strong&gt; at the below line&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;objPhone.Text=objUsr.Get(&amp;quot;telephoneNumber&amp;quot;) &lt;/strong&gt;and the error message is like &lt;strong&gt;&amp;quot;The Directory Property Cannot be found in cache&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please let me know the solution for getting the&lt;strong&gt; PhoneNumber&lt;/strong&gt; from Active Directory.&lt;/p&gt;
&lt;p&gt;Thank You&amp;nbsp;In Advance&lt;/p&gt;</description></item></channel></rss>