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)