Dear Datagrok team,
Hi, I would like to ask a question about how to get a list of users who are not bloked status through dapi.
For example, I wrote sample code snipet below. If possible I would like to have only unblocked users information. I am sorry for bothing you but it would be very helpful if you share a tip to do that.
const allUsersGroup = await grok.dapi.groups.filter('friendlyName="All Users"').first();
const allUsersMembers = new Set([
...allUsersGroup.members.map(m => m.friendlyName),
...allUsersGroup.adminMembers.map(m => m.friendlyName)
]);
Thank you for your help in advance.
Best,
Kosuke