Neither of these bear exact relation to my uderstanding of the legal definitions of sexual harassment under Title VII. The first is sort of close to an element of both of the two kinds of sex hrassament, which are
1. Quid pro quo, the conditioning of job opportunities on offensive and unwelcome sexual advances, and
2. Hostile work environment, not requiting QpQ, the creation of an work environment involving offensive and unwelcome sexual attentions that unreasonaly interferes with the plaintiff's work. This is sort of close to the second.
--jks