Link to home
Start Free TrialLog in
Avatar of MartePalmer
MartePalmerFlag for United States of America

asked on

InfoPath 2003 and Active Directory

All,

Is there a way to use InfoPath to find a first and last name from Active Directory given a user ID?  I have tried the GetUserProfile service from SharePoint but I have not been able to get the attributes needed except for the person completing the form.

I need to be able to allow a user to enter a LAN ID and then get the last and first names associated with the ID.  I am open to using wither AD or GetUersProfile but all I have been able to find is information about the person completing the form.  

Thanks.

Avatar of Clay Fox
Clay Fox
Flag of United States of America image

I think an AD web service is the best method.

You can ID the form user.

Query all of their AD attributes such as email, Manager, department, etc.

Also you can then query other users too.

There are several around, I have used the one from www.qdabra.com

You also then do not need any code or anything to use them.  The only trick is that you need a server to host the webservice. Another benefit, over local lookups, is that this works on VPN and remote connections since it is using their domain credentials not local ones.
ASKER CERTIFIED SOLUTION
Avatar of MartePalmer
MartePalmer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial