Pages

how to get the user role in drupal

Friday, 18 July 2014

how to get the user role in drupal
Ans: <?php $GLOBALS['user']->roles; ?>
 

Most Reading