Previous Topic: Add Claims Search Web ServiceNext Topic: Change How Directory Attributes Appear in the SharePoint People Picker


Create SharePoint Policies with Placeholders for Expected Directory Attributes

The Agent for SharePoint has a client loopback feature that lets you create policies in your SharePoint environment using directory attribute values that do not yet exist.

For example, suppose that your directory server contains an attribute named employeeType, and the employeeType attribute uses one of the following values for each user:

For example, suppose you want to create an attribute value for the employeeType attribute named Vendor in your directory servers to use with SharePoint.

If a different group in your organization manages the directory servers, that task is beyond your control. The Claims Provider creates placeholders for the new attribute values using the loopback feature.

In this example, use the loopback feature so that the Vendor attribute value exists in your SharePoint environment it appears in the directory servers. New attribute values let you create SharePoint policies whenever you want, without waiting for your administrator to add the actual attribute values to your directory.

Follow these steps:

  1. Click Start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell.

    The management shell command line window opens.

  2. Navigate to the following directory:
    C:\Program Files\CA\SharePointClaimsProvider\scripts
    
  3. Enter the following command:
    .\Set-SMClaimProviderConfiguration.ps1 -EnableLoopBackSearch
    

    Loopback search is enabled.

  4. Use the SharePoint people picker to search the new attribute values you want.

    A placeholder for the new attribute value is added to SharePoint using the loopback search function.

  5. Repeat Step 4 to add additional placeholders for more attribute values.
  6. (Optional) After adding your placeholders, disable support for the loopback search function by doing the following steps:
    1. Repeat Steps 1 and 2.
    2. Enter the following command:
      .\Set-SMClaimProviderConfiguration.ps1 -DisableLoopBackSearch
      

      Loopback search is disabled.