I dont know how did i get the assigned to as a sysId in the response. Please help me to know how do i find all the users of a particular group.?
Asked
Active
Viewed 3,884 times
1 Answers
0
As you can see in your image the information for the groups is stored in table sys_user_group. The information which users are assigned to which group is stored in table sys_user_grmember. So the REST query could be a GET to this URL:
https://YOURINSTANCE.com/api/now/table/sys_user_grmember?sysparm_query=group%3DSYSIDOFUSERGROUP

Gordon Mohrin
- 645
- 1
- 6
- 17