[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:40:55 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,
I still try to find an FE api, but I didn't until now. Does anybody can
tell me the structure of $GLOBALS['TSFE'] ? I think there are some
function that I need, but I don't know how to find them...
It would be great if sombody could help me!
Thank You!
Greets Andreas
More information about the TYPO3-dev
mailing list