Query for users of a group

Hello,
After successful installation/configuration of Camunda 8.4.5 Self-Managed, we verified that the problem with “Candidate Groups”, that we had reported at:
Task assignment per user group
has been solved.

We need to implement a function in a worker that will assign user tasks to a specific user of the “Candidate Group” automatically.

Can we retrieve all users of a Group with a call?

We found a similar question for this and the answer was:
List userList = identityService().createUserQuery()
.memberOfGroup(groupID).list();
but it seems that it is applicable for Camunda 7.

Is there a similar function for Camunda 8?
thanks

Hi @jbekiari , I will clarify with the respective dev team if this is available via the API or SDK.

Best,
Christian