public function check4Client($iCustomerId)
        {

            if ($this->get('security.context')->isGranted('ROLE_ADMIN')) {
                return true;
            } else {
                $oUser = $this->getUser();
                if (empty($oUser)) {
                    return false;
                }

                $oResult = UserCustomerRelationQuery::create()->findOneByArray(array("UserId" => $oUser->getId(), "CustomerId" => $iCustomerId));

                return (!empty($oResult));
            }

        }