code: public function showAction()
      {
          $user = $this->getUser();
          if (!is_object($user) || !$user instanceof UserInterface) {
              throw $this->createAccessDeniedException('This user does not have access to this section.');
          }
          return $this->render('SonataUserBundle:Profile:show.html.twig', array(
              'user' => $user,
              'blocks' => $this->container->getParameter('sonata.user.configuration.profile_blocks'),
          ));
      }
docs: @return Response
  
  @throws AccessDeniedException