MartePalmer
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.