It is sexual harrassment. It is the assertion that you do not deserve your appointment, that it was made solely because of your sex.
I ommitted details of other experiences: I was hired to replace a professor who was fired because he had his female students pose for nude photographs. One of them complained. I was approached, fondled by, and slobbered over by the most senior prof in my dept. No, I didn't complain, I just avoided him.
Joanna