Hello,
I want to check if the user is admin. I know that there is a function isAdmin in the javascript framework, but I couldn't find the same function nor an alternative in Alfresco.
I can get the name of the user with Repository.getServiceRegistry(fc).getAuthenticationService().getCurrentUserName().
Thanks.