How to access createUserQuery() using ExternalTask Worker

Hi Team,

I am using a standalone Camunda 7 enterprise application and an using External Task Workers for service tasks. I am trying to access a Group of users and retrieve the users mail is for sending remainder mail.
Using Java Delegates, this is possible [execution.getProcessEngineServices().getIdentityService().createUserQuery()
.memberOfGroup().list();]

How can this be achieved using External Tasks.

Hello @Saju_John_Sebastian1 ,

the endpoints are documented here:

https://docs.camunda.org/rest/camunda-bpm-platform/7.19-SNAPSHOT/#tag/User

Jonathan

Thanks @jonathan.lukas