Groups and users, in security management, are stored and managed as a string, which prevents from determining directly when reading an ACE if it deals with a group or with a user.
To get the information you can user the userManger service:
If you are coding a web client, you can use the method getPrincipalType(String user) of Seam component PrincipalListManager. The method handles a cache and is used in many places in EP Code.
Labels:
None