2 Replies Latest reply on Apr 25, 2010 12:57 AM by cbensemann

    Exist a method in the PermissionStore API(or in another place) that return all the permissions for a specified user?

    nifs

      Hi everyone


      I saw the PermissionStore API and it seems that doesn't exist a method with the following signature:


      List<Permission> listPermissions(Principal recipient) {...}  or 
      List<Permission> listPermissions(String user) {...}
      



      Because i'm trying to get all the permissions for a specified user, i don't know if i have to use the EntityManager.


      Best regards, thanks in advance!!!