Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2006

Tip: Looking for answers? Try searching our database.

On Load populates multiple fields from Active Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dkru - 28 Mar 2006 16:45 GMT
Does anyone know how to setup a form so "On Load" it populates muliple fields
using active directory?

If the fields of the form are null, I then want to pull in the current user
name, their phone number, email, manager information etc from Active
Directory when the form is loaded.

Thanks,

Dennis
Ben Walters - 28 Mar 2006 23:04 GMT
Hey Dennis
Best bet here is to create a web service that takes the current user name
(can be found in the System.Environment namespace) and returns the details
your after then put this returned data into the fields in the form.
This would obviously be easier through managed code than through script as
you could simply add a web reference to your project rather than having to
assemble the soap messages manually.

Cheers
Ben

> Does anyone know how to setup a form so "On Load" it populates muliple fields
> using active directory?
[quoted text clipped - 6 lines]
>
> Dennis
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.