def METHOD_NAME():
    db = initdb()
    entities = db.getUserLocations("root", True)
    for entity, level in entities:
        text = ""
        for tab in range(1, level):
            text += "  "
        text += '- %s' % entity.Label
        print text