rohan-rodrigues you could use something like this.
app.store.find('users', {filter: {q: 'group:1'}}).then(users => console.log(users))
The find
method returns a promise that resolves with the request results. group:
is a search gambit available on the user endpoint that accepts either group name or group ID (Group ID only since beta 14).
Keep in mind the endpoint is paginated. Default number of results is 20. I think it can be increased to 50 with a limit
parameter.