def user_list(database=None, user=None, password=None, host=None, port=None):
 client = _client(user=user, password=password, host=host, port=port)
 if (not database):
  return client.get_list_cluster_admins()
 client.switch_database(database)
 return client.get_list_users()

def user_list ( database = None , user = None , password = None , host = None , port = None ) : client = _client ( user = user , password = password , host = host , port = port ) if ( not database ) : return client . get_list_cluster_admins ( ) client . switch_database ( database ) return client . get_list_users ( )
return a list of users on a mysql server cli example: .