This project is read-only.

change password for all users of a role

Topics: Administration
Apr 22, 2011 at 3:46 PM

Is it possible change passwords for all users of a particular role?

Apr 22, 2011 at 3:51 PM

No; not recommended anyway because they'd then know each others' passwords!

Apr 22, 2011 at 3:58 PM

It's right, but if I use orchard like a blog site into a intranet...only to know who comment a post. 

Apr 22, 2011 at 4:02 PM

Why would you have to change passwords to know who commented a post?

Apr 22, 2011 at 4:11 PM

I need a way to specify/change a unique password every month/week for all the users in a specified role, because the admin needs a simple way to communicate the password to all users. In this case security is not a concern. Users cannot change the password. It's an intranet (limited access) site with this kind of "strange" policy.

Apr 22, 2011 at 4:14 PM

You'd just have to write your own module to do this, all the methods and services are there to access users, change passwords and sent emails; you just have to do it yourself in code for something as non-standard as this.

Apr 22, 2011 at 4:24 PM

Thank for all.

Apr 22, 2011 at 4:51 PM

As a command it would be ideal, as you can even call it from the admin using the experimental module. Or locally using the console.