I am trying to populate some infopath fields with AD data when a formis open from a sharepoint library list. I am having real problems andcan not figure it out. I was able to find a way that works on theclient but not in the browser.
I don't remember whether I answered a similar question or not a few weeksago, but I usually recommend a web service that hits the AD domain. Thefollowing article provides some introductory help w/ writing the service:http://www.15seconds.com/issue/020730.htmOnce you have the web method(s) written, you just create data connectionsfrom within your infopath form template and pull what you want.
That may have been me posted the questions about 2 weeks ago. I amnew to .net and the article seems like a lot to do. Is there a moresimple method or example you may have.Will there be any problems once you publish the form to sharepointthen try to opent the form in a browser.
To your second question: nope. That is the environment in which I've usedmy Active Directory web methods, and they work as expected.Re. a more simple example, the following article offers discrete snippets toaccomplish particular tasks (this looks closer to what I was doing):www.c-sharpcorner.com/.../adand.\net.aspxMSDN offers a tutorial with similar code:msdn.microsoft.com/en-us/library/ms973834.aspxIt's pretty simple, once you get the general idea. If you have trouble onceyou get into it, you know where to find us