Even if this action was egregious enough for the term "harassment" to be applicable, this action is in no way illegal. For harassment to be illegal it must be specifically and directly based on the harassed individual's race, gender, age (only if the individual is over 40), religion, and/or disability. Nothing in your post indicates that what's happened to you is egregious enough to be called harassment, legal or otherwise.