def get_view_id_list(user, site, check_global=True, use_cache=True):
 page_ids = _get_page_ids_for_action(user=user, site=site, action='view_page', check_global=check_global, use_cache=use_cache)
 return page_ids

def get_view_id_list ( user , site , check_global = True , use_cache = True ) : page_ids = _get_page_ids_for_action ( user = user , site = site , action = 'view_page' , check_global = check_global , use_cache = use_cache ) return page_ids
give a list of pages which user can view .