In Office SharePoint Server 2007 the results of a search are displayed via webparts. Within the webpart-properties, you can format the output of the results. But, what is the content of a result set? The webpart will get an xml-structure an the output is formatted using an xsl-transformation.

To get an overview about the possible values, you can use an xsl-transformation, that displays the whole result set. Copy this xsl into the webpart using the xsl-Editor:

<?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl=""&gt;
  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
  <xsl:template match="/">
      <xsl:copy-of select="*"/>

Take a few moments and have a look to this blog-entry to see, what is possible using xsl-transformation in the search results to display the content of the search result.

In the Search Results Webpart you can edit a property called ‘Selected Columns’ in the Results Query Options section. The value of this property is an xml-node. The default value for the people search is

<root xmlns:xsi="">
    <Column Name="AccountName"/>
    <Column Name="UserProfile_GUID"/>
    <Column Name="PreferredName"/>
    <Column Name="JobTitle"/>
    <Column Name="Department"/>
    <Column Name="WorkPhone"/>
    <Column Name="OfficeNumber"/>
    <Column Name="AboutMe"/>
    <Column Name="PictureURL"/>
    <Column Name="WorkEmail"/>
    <Column Name="WebSite"/>
    <Column Name="Path"/>
    <Column Name="HitHighlightedSummary"/>
    <Column Name="HitHighlightedProperties"/>
    <Column Name="Responsibility"/>
    <Column Name="Skills"/>
    <Column Name="SipAddress"/>

You can edit this property and add additional nodes to the Columns-node, when you need extra data from the profiles of the peoples. The valid column names are set in the ‘Metadata property mappings’ of the search configuration in the Shared Service Provider. Have a look at this blog-entry for additional information.