How to check users that are assigned to a role in the EP