code: def cli(env, identifier):
      
  
      mgr = SoftLayer.UserManager(env.client)
      user_id = helpers.resolve_id(mgr.resolve_ids, identifier, 'username')
      object_mask = "mask[id, permissions, isMasterUserFlag, roles]"
  
      user = mgr.get_user(user_id, object_mask)
      all_permissions = mgr.get_all_permissions()
      user_permissions = perms_to_dict(user['permissions'])
  
      if user['isMasterUserFlag']:
          click.secho('This account is the Master User and has all permissions enabled', fg='green')
  
      env.fout(roles_table(user))
      env.fout(permission_table(user_permissions, all_permissions))
docs: User Permissions. TODO change to list all permissions, and which users have them