Jpql query for BProc user select

Hi, everyone!

I am not being able to select users that have a particular role. Can you help me with that?

More specifically, I am trying to model BProc and want to have a user for a particular input dialog parameter. However, only users with a particular role need to be selected.

Something like select u from User u where (:role in u.roles)

try something like this:

select u from sec$User u join u.userRoles ur where = 'TestRole1'
1 Like