[TYPO3-english] Getting 'title' for usergroup ID's

Andre Cheung Tam He cheungtamhe at frg.eur.nl
Thu Mar 24 17:04:11 CET 2011


Hi,

I'm using the following method to get the usergroups for a logged in 
visitor:
$usergroup = $GLOBALS["TSFE"]->fe_user->user["usergroup"];

This gives back a string with usergroup ID's:
10,16,17,179

Is there a method to convert these ID's to the 'title' in the fe_groups 
table?
Or do I have to write my own function which queries the table?

Kind regards,

André



More information about the TYPO3-english mailing list