Slack API (https://api.slack.com/docs/pagination) methods return results using a cursor-based approach . getUsersList doesn't return all users if the Slack user list is above max page limit (1000). Added cursor-based pagination to iterate and pull all users from slack.
Slack API (https://api.slack.com/docs/pagination) methods return results using a cursor-based approach . getUsersList doesn't return all users if the Slack user list is above max page limit (1000). Added cursor-based pagination to iterate and pull all users from slack.