Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Created October 19, 2016 03:10
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/0f84ce544100198d90c892308f82c12e to your computer and use it in GitHub Desktop.
Save nmcspadden/0f84ce544100198d90c892308f82c12e to your computer and use it in GitHub Desktop.
adobe_tools - Products per User (internal)
def _products_per_user(config_data, access_token, username):
"""Return a list of products assigned to user."""
user_info = _user_data(config_data, access_token, username)
return user_info.get('groups', [])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment