We need to set up one of our roles to not be listed in the Participants list of a course (neither the role name itself in the drop-down menu, nor the individual participants with that specific role).
I dedicated some time for research and testing this. So far, the only solution I got was to assign users to the role using 'Other users', which gives the user access to the course without enrolling him/her thus does not list the user in the Participants list.
The drawback is that the user will not see the course listed in his 'My Moodle', since technically he is not enrolled in it. This is not ideal since the user will have to access the course using a direct link, which makes it less user-friendly.
I do believe that somehow there is a solution to this, since I came across some roles that unintentionally obeyed the above requirements, but have not yet identified how they were achieved.
I would appreciate some help on this. Thanks!