What is the difference between Acp: listUsernamesForPermission(String permission) and UserManager.getUsersForPermission(String permission, Acp acp) ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2013 08:19 AM
Hello,
I'm working on a workflow wich at its entry point select evey users having given permission on current document as assignees.
I've tryed with the method UserManager.getUsersForPermission(String permission, Acp acp) on one platform and it's working like a charm. I've tryed on another platform an it's non-working any more because of an empty user list returned.
If i use listUsernamesForPermission(String permission) from Acp class, it works, but the method is deprecated.
The difference between the two platform is, I think, inheritance of permissions wich is blocked at some point on the not working platform.
Any help is welcome
Antoine
0 REPLIES 0
