Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Created October 19, 2016 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmcspadden/e003e573f2f01c8c98550504846e9ba0 to your computer and use it in GitHub Desktop.
Save nmcspadden/e003e573f2f01c8c98550504846e9ba0 to your computer and use it in GitHub Desktop.
adobe_tools - Get User List (public)
def get_user_list():
"""Get list of user emails."""
(config_data, jwt_token, access_token) = generate_config()
userlist = _user_list(config_data, access_token)
names = []
for user in userlist:
names.append(user['email'])
return names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment