“The views he expressed on social media do not reflect our values,” Mr. Rylander said in a statement. “The O.A.G. is committed to promoting and maintaining a workplace that is free from discrimination and harassment.”

Mr. Leonie did not immediately respond to requests for comment sent by Facebook and email Thursday evening, and no one answered the phone at his listed home number.

His Facebook post, since deleted, was accompanied by a link to an article in The Federalist titled “Can We Be Honest About Women?” That article — written by a woman, D.C. McAllister — argued that women “love the sexual interplay they experience with men, and they relish men desiring their beauty.”

“We can’t always assume women are hapless damsels in distress horrified by how they’re objectified,” Ms. McAllister wrote.

Through the #MeToo movement, millions of women have shared their accounts of sexual assault and harassment, putting an international spotlight on problems that have often been swept under the rug. The allegations publicized as a result have brought down dozens of public figures in a wide range of industries. But the movement has also encouraged women to talk about assault and harassment at the hands of ordinary men, and millions have described experiences ranging from catcalling to rape.