How to examine the current user inside templateHook listener

AA7BQ

Member
I'm looking for the best practice for looking at the current user from within my templateHook event listener. My goal is to examine their secondary_group_ids t make decisions on which content to display.

It seems like the user's information should already be available somewhere without having to perform a database query. What's the best way?
 
Top Bottom