AnsweredAssumed Answered

Check if user is admin

Question asked by monitloth on Nov 27, 2008
Latest reply on Aug 13, 2012 by guilherme_souza

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().