def get_all_user_policies(user_name, marker=None, max_items=None, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  info = conn.get_all_user_policies(user_name, marker, max_items)
  if (not info):
   return False
  _list = info.list_user_policies_response.list_user_policies_result
  return _list.policy_names
 except boto.exception.BotoServerError as e:
  log.debug(e)
  msg = 'Failed to get user {0} policy.'
  log.error(msg.format(user_name))
  return False

def get_all_user_policies ( user_name , marker = None , max_items = None , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : info = conn . get_all_user_policies ( user_name , marker , max_items ) if ( not info ) : return False _list = info . list_user_policies_response . list_user_policies_result return _list . policy_names except boto . exception . BotoServerError as e : log . debug ( e ) msg = 'Failed to get user {0} policy.' log . error ( msg . format ( user_name ) ) return False
get all user policies .