Groups and users, in security management, are stored and managed as a string, which prevents from determine 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 of Seam component , the method handles a cache and is used in many places in EP Code.
if (userManager.getGroup(name) != null) { type = GROUP_TYPE; } else { type = USER_TYPE; }
getPrincipalType(String user)PrincipalListManager
Version 2.1 last modified by Alain Escaffre on 03/10/2008 at 10:46
Document data
Attachments:
No attachments for this document
Comments: 0