Solved

Infopath form on sharepoint needs to connect with active directory

Posted on 2016-08-05
5
57 Views
Last Modified: 2016-10-09
Hello

I created a car request form  using InfoPath on sharepoint. car request form

We need the Active directory to prepopulate the users name in the name field along with email - Automatically base on the user profile

Please provide high level summary of best method to do this and link to further detailed information if very complicated. Also who do I need to work with to accomplish this (network administrators etc. )
0
Comment
Question by:LBecerra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 18

Assisted Solution

by:Walter Curtis
Walter Curtis earned 332 total points
ID: 41744587
If you want only one name to appear, that would not be a pulldown, but instead a single line of text column type. You can use jQuery to populate that field. Also to populate the email field, that is provided that AD has the email addresse listed in AD, which they probably should.

As in the other question, which is a clone of this one, good luck...
0
 
LVL 5

Accepted Solution

by:
Isaac earned 168 total points
ID: 41749776
You would have to use the  web service operations of the User Profile Service of SharePoint to retrieve the information you need.  

Select "Data" --> Get External Data -> From Web Service --> From Soap web servce
In the data connection wizard enter the url of the user profile service
http://<YOUR SERVERNAME>/sitename/_vti_bin/UserProfileService.asmx

In the wizard, select "GetUserPropertyByAccountName" from the list of operations and go from there...

This can help you as well.

Hope that helps
0
 
LVL 18

Assisted Solution

by:Walter Curtis
Walter Curtis earned 332 total points
ID: 41750288
Great tip above, just remember that the User Profile Service is not always in sync with Active Directory. In other words, connecting to UPS is not going to be as up to date as connecting directly to AD. In a prefect world, they should be very close to being in sync, depending upon the sync schedule set up.

Good luck....
1
 
LVL 18

Expert Comment

by:Walter Curtis
ID: 41835957
Thanks, I appreciate the recognition of our effort.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question