Abfrage der Benutzergruppe im Template

Hi,

how can I get the GroupID in the template? In my case I need to display a link/picture if the logged in user has admin rights. How do I get this done?

regards
Stefan

Hello Macspot,
try this one!

[{if $oxcmp_user}]
[{if $oxcmp_user->inGroup(“oxidadmin”)}]
Display your rights depending content here
[{/if}]
[{/if}]

Best regards,

Micha

thanks for posting a solution - but did you see the date of the thread? :slight_smile:

Now this is solved and the google folks will get their answer :smiley: