A white North Carolina man was fired after he demanded identification from a black woman at a private community pool on the Fourth of July and called the police when she refused.

The woman, Jasmine Abhulimen, posted a Facebook video of the episode at the Glenridge Community Pool in Winston-Salem.

In the video, Ms. Abhulimen said she was swimming with her son and accused the man, Adam Bloom, of racial profiling. The video shows police officers confirming that there was no rule requiring identification at the pool. Ms. Abhulimen had a key card issued to residents that allowed her to enter.

“Where does it say that I have to show an ID?” Ms. Abhulimen said in the video, which she posted under the name Jasmine Edwards.