Get list of invited users

Heads up, this one no longer seems to work, however, the one below works for me:

https://meta.discourse.org/t/list-of-users-who-signed-up-via-invitations/224871/6