This wikipedia article mentions that some 400 women joined the Iranian police force between 1979 and 2003.
This answer gives a pretty good explanation of women working outside the home. It seems to me that police work would directly go against the guidelines in the accepted answer.
As I understand, Shia Islam is the official religion in Iran. Is this a general Shia guideline? If not, what justification is there for this type of thing?