title: Globally access to the user object in templates
body: <p>I have seen so far a Twig method to know the user privilege</p>
  
  <p><code>{% if is_granted('ROLE_USER') %}</code></p>
  
  <p>but nothing about getting authentified user informations, without passing the object in every single controller actions.</p>
  
  <p>Before looking for how to pass a global variable to my layout, I'd rather know if there is any "standard" way to access my security provider user objects (at least the username, and database informations for entity users) in my layout or in any template covered by a firewall.</p>