3.1.4.14 CleanUnreferencedSiteRestrictions

This operation is used to remove user profile import domains that are not present in the specified list of domains.

 <wsdl:operation name="CleanUnreferencedSiteRestrictions">
         <wsdl:input message="CleanUnreferencedSiteRestrictionsSoapIn"/>
         <wsdl:output message="CleanUnreferencedSiteRestrictionsSoapOut"/>
 </wsdl:operation>

The protocol client sends a CleanUnreferencedSiteRestrictionsSoapIn request message and the protocol server responds with a CleanUnreferencedSiteRestrictionsSoapOut response message, as follows:

  • On receipt the protocol server validates the versionIn value from the request message. If it doesn’t match the current configuration version of the crawler application, the protocol server MUST throw a SOAP fault message containing an UpdatedConcurrencyException.

  • The protocol server then updates the current configuration version of the crawler application to the value of versionIn+1.

  • The protocol server removes all user profile import domains from the user profile import projects that are not listed in one of the elements of the domains array element of the request message.

  • On success, the protocol server MUST return the updated configuration version of the crawler application in the CleanUnreferencedSiteRestrictionsResult element in the response message.

  • On error, the protocol server MUST throw a SOAP fault message.