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

Andreas Förthner Andreas.Foerthner at netlogix.de
Thu Feb 9 14:22:15 CET 2006


Jochen Rieger schrieb:
> 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
> 
Hi,

ok this may be possible... I just was irritated why this is a blob 
field... but if I get a comma separated list, I know what to do...

many thanks!!

Greets

Andreas




More information about the TYPO3-dev mailing list