function linkUserToManagerAccount($oParams)
 {
     $sessionId = null;
     $userId = null;
     $managerAccountId = null;
     $aPermissions = array();
     $oResponseWithError = null;
     if (!XmlRpcUtils::getScalarValues(array(&$sessionId, &$userId, &$managerAccountId), array(true, true, true), $oParams, $oResponseWithError) || !XmlRpcUtils::getNotRequiredNonScalarValue($aPermissions, $oParams, 3, $oResponseWithError)) {
         return $oResponseWithError;
     }
     if ($this->_oUserServiceImp->linkUserToManagerAccount($sessionId, $userId, $managerAccountId, $aPermissions)) {
         return XmlRpcUtils::booleanTypeResponse(true);
     } else {
         return XmlRpcUtils::generateError($this->_oUserServiceImp->getLastError());
     }
 }