AnsweredAssumed Answered

How to check if Admin in ftl?

Question asked by miraclesuki on Dec 19, 2012
Latest reply on Dec 20, 2012 by jpfi
Hello,

I would like to ask how can I check the current user is logged as Admin or not?
I am editing a .html.ftl file and I would like to know is it there exist something like:

<#if getCurrentUser.isAdmin>
…….
…..
</#if>

I cannot find any resource stated how to check the user whether isAdmin or not…
Any advise on it is appreciated.

Thanks for help.

Regards
Mandy

Outcomes