Earlier quoted context omitted.
It varies pretty wildly. A friend of my mother applied for a job doing clerical work at the city police station, and one of the conditions of hiring was surrendering her Facebook password. For some reason I'll never understand (she didn't need the job, just wanted something to do during the day), she took the job.
> one of the conditions of hiring was surrendering her Facebook password. Is that even legal? How? Why?
===========================================
Article 8 – Right to respect for private and family life
1. Everyone has the right to respect for his private and family life, his home and his correspondence.
2. There shall be no interference by a public authority with the exercise of this right except such as is in accordance with the law and is necessary in a democratic society in the interests of national security, public safety or the economic well-being of the country, for the prevention of disorder or crime, for the protection of health or morals, or for the protection of the rights and freedoms of others.
=====================So basically it's illegal until the authorities deem it to be legal.