This is what is known as quid pro quo sexual harassment. While this scenario is what visually comes to mind, it is rarely the case. Males can experience harassment.
Females can experience harassment.
Males and females can be harassers. Sexual harassment is a form of gender discrimination involving unwelcome conduct of a sexual nature which interferes with the education or work of others. Sexual harassment violates university policy as well as state and federal laws and can result in disciplinary action for employee or student offenders as severe as expulsion or dismissal. In addition to university sanction, persons who engage in sexual harassment may be subject to civil or criminal action. Sexual harassment occurs in many diverse situations.