[TYPO3-dev] Check if FE-User is member of a fe_user_group

Jochen Rieger j.rieger at connecta.ag
Thu Feb 9 14:19:13 CET 2006


Hi Andreas,

I don't know about an API function (maybe one of the devs that are more 
familiar with the core know better...?).

But with an own function I would just query the table field 'usergroup' 
in the table 'fe_users'. You will get a comma separated list of all 
usergroups that the user belongs to.

$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('usergroup', 'fe_users', 
$yourWhereClaus);

Not too difficult, or did I get you wrong maybe?

Regards,
Jochen

-- 
:: innovative it-strategies ::
::                          ::
:: www.connecta.ag          ::




More information about the TYPO3-dev mailing list