3.1.4.1 GetUserData

The GetUserData operation retrieves the commonly used properties of a user profile in the user profile store.

The following is the WSDL port type specification of the GetUserData WSDL operation.

 <wsdl:operation name="GetUserData" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input wsaw:Action="http://Microsoft.Office.Server.UserProfiles/GetUserData" message="tns:IProfileDBCacheService_GetUserData_InputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:output wsaw:Action="http://tempuri.org/IProfileDBCacheService/GetUserDataResponse" message="tns:IProfileDBCacheService_GetUserData_OutputMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:fault wsaw:Action="http://tempuri.org/IProfileDBCacheService/GetUserDataConfigurationFaultFault" name="ConfigurationFaultFault" message="tns:IProfileDBCacheService_GetUserData_ConfigurationFaultFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:fault wsaw:Action="http://tempuri.org/IProfileDBCacheService/GetUserDataInputFaultFault" name="InputFaultFault" message="tns:IProfileDBCacheService_GetUserData_InputFaultFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:fault wsaw:Action="http://tempuri.org/IProfileDBCacheService/GetUserDataUnknownFaultFault" name="UnknownFaultFault" message="tns:IProfileDBCacheService_GetUserData_UnknownFaultFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
   <wsdl:fault wsaw:Action="http://tempuri.org/IProfileDBCacheService/GetUserDataUserProfileFaultFault" name="UserProfileFaultFault" message="tns:IProfileDBCacheService_GetUserData_UserProfileFaultFault_FaultMessage" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"/>
 </wsdl:operation>

The protocol client sends an IProfileDBCacheService_GetUserData_InputMessage request message and the protocol server responds with an IProfileDBCacheService_GetUserData_OutputMessage response message. If the user profile store has user profile data that corresponds to the input UserSearchCriteria complex type, then this operation returns and packages that data for the protocol client as an output UserData complex type. The protocol client MAY send a request to retrieve multiple user profiles in one call to this operation, as specified in section 3.1.4.1.3.1. The operation returns one UserData complex type for each input that it receives if the operation finds the user data. Otherwise, the operation MUST return NULL in place of UserData corresponding to the UserSearchCriteria. In case of any error, the operation MUST return an error.If the operation returns a SOAP fault as specified in [SOAP1.1] section 4.4 or [SOAP1.2/1] section 5.4, the SOAP fault detail MUST contain one of the error complex types as specified in sections 2.2.4.1 through 2.2.4.4.