Solved
How can i Check if logged in user is admin or members of the administrators group in javascript
Hi,
I want to show button on page if logged in user is admin or members of the administrators group in javascript.
I am able to get CQ.User.getCurrentUser() but not able to check if user is admin.