New setting for AD import

Use SharePoint Active Directory Import – User Profiles
Instead of using the default setting of synchronization of User Profiles, you can select the “Use SharePoint Active Directory Import” setting. Which is a lighter version and which only imports information from the AD. If you had a connection before, it is lost when you click on this setting.
First you need to create a new connection again. You will notice a good difference here: you can click on “Filter out disabled users”! Very good.

You can no longer click on “Edit connection filters”.

You cannot edit the User Properties, such as adding the thumbnailPhoto to the Picture property.

Collect user information from AD through InfoPath

I wanted a webpart in SharePoint that displays certain user information from the AD. Looked at a couple of webparts Bamboo, SharePoint Boost, etc but all of those are directly connected to the AD and I did not want the user to be able to push information back into the AD. Only display it so that the user can send a request to change the information through a simple list.
So I thought that InfoPath might be able to do some lookups for me, and yes the webservice that calls on UserProfiles was perfect for this! And since I am used to InfoPath and how you can perform lookups inside the form using one specific field I thought that it could not be that hard to get all information using the “Username” field. All fields in the form are read-only and it is published as a web form. The result is the following webpart:

Mail me if you want some more explanation or instructions!

I love that you can use InfoPath without any code… Powerful!