3.1.4.60 SetDefaultImportAccount

This operation is used to set the default user profile import account for the user profile import project.

 <wsdl:operation name="SetDefaultImportAccount">
         <wsdl:input message="SetDefaultImportAccountSoapIn"/>
         <wsdl:output message="SetDefaultImportAccountSoapOut"/>
 </wsdl:operation>

The protocol client sends a SetDefaultImportAccountSoapIn request message and the protocol server responds with a SetDefaultImportAccountSoapOut 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.

  • If the value of the userID element in the request message is NULL or empty, the protocol server MUST set both the defaultAccountName and defaultAccountPassword properties of the user profile import project to empty and will use anonymous authentication during the user profile import.

  • Otherwise, the protocol server sets the defaultAccountName and defaultAccountPassword properties of the user profile import project to the userID and password values from the request message respectively.

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

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