Skip to content

Instantly share code, notes, and snippets.

@zaimramlan
Created August 17, 2018 16:30
Show Gist options
  • Save zaimramlan/2db0c85562df2272cc8ebb0f2ecb8d87 to your computer and use it in GitHub Desktop.
Save zaimramlan/2db0c85562df2272cc8ebb0f2ecb8d87 to your computer and use it in GitHub Desktop.
Get list of AppStore Connect users and roles
var text = "Email, Name, Role,\n"
$('div.content-group').first().find('tbody').children().each(function() {
var email = $(this).children()[1].innerText
var name = $(this).children()[2].innerText.replace('Invitation Expired Resend', '')
var role = $(this).children()[3].innerText
text += `${email}, ${name}, ${role}\n`
})
var a = document.createElement("a");
var file = new Blob([text], {type: 'text/csv'});
a.href = URL.createObjectURL(file);
a.download = name; a.click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment