I guess going forward, there should be clear employment policies that forbid this type of behavior so the soon to be departing employee can not state that he was unaware that this was not apprioriate behavior.