AnsweredAssumed Answered

Getting the container group for current user

Question asked by kayan on Feb 17, 2009
Latest reply on Jun 12, 2009 by mrogers
Hi,

I am trying to find out the container group name for the logged in user.  I have used the authority service to find out the information but I got the following error

String groupName=serviceRegistry.getAuthorityService().getAuthoritiesForUser(userName)

org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  You do not have the appropriate permissions to perform this operation.

Is there any way i can get the containter group for logged in user?


Thanks
Kayan

Outcomes