def get_all_users(path_prefix='/', region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 if (not conn):
  return None
 _users = conn.get_all_users(path_prefix=path_prefix)
 users = _users.list_users_response.list_users_result.users
 marker = getattr(_users.list_users_response.list_users_result, 'marker', None)
 while marker:
  _users = conn.get_all_users(path_prefix=path_prefix, marker=marker)
  users = (users + _users.list_users_response.list_users_result.users)
  marker = getattr(_users.list_users_response.list_users_result, 'marker', None)
 return users

def get_all_users ( path_prefix = '/' , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) if ( not conn ) : return None _users = conn . get_all_users ( path_prefix = path_prefix ) users = _users . list_users_response . list_users_result . users marker = getattr ( _users . list_users_response . list_users_result , 'marker' , None ) while marker : _users = conn . get_all_users ( path_prefix = path_prefix , marker = marker ) users = ( users + _users . list_users_response . list_users_result . users ) marker = getattr ( _users . list_users_response . list_users_result , 'marker' , None ) return users
get and return all iam user details .