Update users from windows to Password base authentication

Novice User asked on April 13, 2023 18:28

Our just moved from a platform where we were using windows based authentication to sign in to the kentico site. Now we would like these users to have a password based authentication. IS there a way where these user accounts get updated to have password based authentication . an email to these account with the random generated password would be idea. If not what are my possible options ?

One possible option is that I delete all those accounts and ask them to create new accounts again. My assumption is that they cant create accounts with their email address associated with the current windows based account.

Any ideas ?

Correct Answer

Juraj Ondrus answered on April 17, 2023 05:21

  1. You will send them an email, post some message on the logon screen, etc. This is fully up to you. If you will do this directly in the DB, Kentico will not know about it until you restart Kentico app - but this will just make the app to load "new" values from the DB into the memory.
  2. The password will be blank. So, you can again set some message somewhere and ask them to set password or, set password policy in Settings - this way the users will be forced to set some password upon first login. Or, you can use API and set some password for each user and send them email with the password.
  3. No, unless you use the button "Generate password" in the user editing UI.
0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on April 14, 2023 05:47

So, if you want to use the forms authentication (I assume you meant logging into the Kentico admin app) then you can simply mark the users as NOT domain users. When you edit some user, there is a flag telling the system "Is external user" and "Is domain user" so Kentico knows that the user has to be authenticated against external provider or against the AD domain. So, setting the "Is domain user" to false should do the trick for you. You can do it also in the CMS_User table and then restart Kentico app.

0 votesVote for this answer Mark as a Correct answer

Novice User answered on April 14, 2023 21:55

Thank you for your input. Updating the CMS_user table and restarting the app sounds doable. I am interested in knowing following

  1. How would this impacts the user, and how would they know that the authentication is updated and now they have to login with the password.
  2. How would they set the password, may be on the their first login ?
  3. Does this updating user settings trigger any process to send affected user some sort of notification (random password)
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.