Is there a way to force password changes to the users that do not meet our new password requirements?
Thanks
Hello!
There currently isn't an easy way to just force this on all user accounts on the site, but you can user-by-user. However, this won't help. I don't often put in SQL for people to run, for all kinds of reasons. However, it's the best way to help you in this instance.
The query below is a great start for what you're looking for. You simply want to change the UpdatePassword column value in the Users table from 0 to 1 to trigger a password reset the next time someone attempts to log in.
UpdatePassword
Users
0
1
UPDATE [Users] SET [UpdatePassword] = 1 WHERE IsSuperUser = 0;
The query above does not take anything into account, except for not updating any user account that is a superuser. You may want to filter by the site (portal) using the UserPortals table, by security role (group) using the Roles table, etc.
UserPortals
Roles
You can run this all from the SQL Console, without having to log into the database directly.
Thanks everyone, that's what I thought.
Doing an update on the UpdatePassword = 1
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.