Most people having a SharePoint environment have already a lot of information about the users in another system stored, such as Active Directory. This article describes a step-by-step guide to promote this user information in Active Directory to the SharePoint environment, resulting in a Who is Who functionality on the SharePoint environment.
Step 1: Install the Roxority User Profiles List Web Part for SharePoint
- Download the Roxority User Profiles List Web Part for SharePoint. This free Web Part lists SharePoint user profiles in any way you wish.
- Replace localhost in the setup.bat file with the url of your SharePoint Web Application.
- Run the setup.bat file which adds and deploys the Solution.
- Create the directory C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES\peoplecache on your SharePoint server.
- Create a file peoplecache.xml in the previously created directory with following content:
<?xml version="1.0" encoding="utf-8"?>
Step 2:Map User Profile Properties on your Shared Service Provider
- Go to your SharePoint Central Administration site.
- Go to your Shared Service Provider.
- Choose User profiles and properties in the User Profiles and My Sites section.
- Map the properties you want to visualize in your Who is Who application in the User Profile Properties.
- Go back to the User Profile and Properties page and choose Start full import to import the Active Directory accounts in your SharePoint environment: you can schedule this so it runs automatically at regular times.
Step 3: Grant Manage User Profiles permission to the end-usersAll users who need to have access to the Web Page on which you will be adding the Web Part need to have to be granted the Manage User Profiles permission. You grant it on your Shared Service Provider through the Personalization services permissions link in the User Profiles and My Sites section.
Step 4: Add the Web Part to a SharePoint Web Part Page
- Create a Blank Web Part Page.
- Add the Roxority User List Web Part to the Web Part Page:
- Click Modify Shared Web Part and uncheck the caching options.
- Remove the Date-based filtering. If you enter data for the Hire Date property in Active Directory, you can use this property to filter which users are going to be displayed. You can use other date fields too for filtering purposes.
- Choose which Profile properties you want to display on the Web Part Page.
- Click OK and Publish the Web Part Page.
Result: Who is Who within SharePoint
As result you get all users with the chosen properties on one page. You can tweak the CSS to have it in your own preferred layout (for example .solarlux-userprofile-picture to enlarge the pictures shown).