ListParents

ListParents (object)

Returns an objectlist of all parents of an object - the object’s direct parent, the parent’s parent, and so on.