A former military policeman from Devon has been sentenced to 10 years in prison for raping a girl of 15.
Steven Barratt: Banned from going within 10m of schools
Steven Barratt from Newton Abbot was also ordered to tell the parents of any child he meets about his convictions under a Sexual Offences Order.
Barratt, 38, was found guilty of rape, attempted rape, gross indecency, seven indecent assaults and a sexual assault.
It is thought this is the first time an offender has been ordered to declare his convictions to parents.
The order by Judge Miranda Robertshaw at Exeter Crown Court is similar to a law the mother and father of eight-year-old Sarah Payne wanted introduced to enable parents to know about paedophiles living nearby.
Campaigners have long called for a law in the UK giving parents access to details on paedophiles living in their area.
It is sometimes called Sarah's Law after eight-year-old Sarah Payne, who was murdered six years ago by paedophile Roy Whiting.
The order also bans Barratt from going within 10m of any school and from having any contact with community or youth groups.
During the trial the court heard that Barratt used his position in the military police to threaten the victim and told her she would go to prison if she said anything.
The court was told the rape happened when Barratt began a game of hide and seek.
The victim told the court that she went and hid and he found her in one of the bedrooms.
He then put her on the bed and raped her.
Barratt claimed he had never touched the girl inappropriately.
A probation services spokeswoman said that Barrat would be supervised by a number of agencies including police, probation and prison services and social services under a Multi-Agency Public Protection Arrangement (MAPPA).
MAPPA authorities, groups that manage the most dangerous offenders once they are released from prison, already have the power to give
some individuals and agencies details of registered sex offenders.