title: How to get user group name by providing user id
body: <p>I am using joomla 2.5. </p>
  
  <p>I want to get <strong>user group name by providing user id.</strong> is there any core function to achieve this task?</p>