Introduction
I am trying to see how Change password on next logon property in Sharperlight Site Setup
works with this post.
This is for Sharperlight Web channel and works with Sharperlight users only, and not for Windows Domain user and other synced users such as LDAP.
Practices
The Sharperlight user: User 1 has a password user1
, and the Sharperlight user: User 2 has a password `user2.
Then the service property: Allow User Password Change in Sharperlight Client Setup is False.
Let's check the settings with the web channel.
Go for Sharperlight index page with http:\\{{the pc name}}\mdService1Rest\Index
.
This page is displayed because my Windows account is registered with Sharperlight, so it appears without any interference.
Logout from the page by clicking the user icon.
Then this login screen is displayed.
Set User1 as user name and user1 as its password, and click Sign In
.
I can log directly into this page with the user.
Now set True for Change password on next logon property of User1.
Go back to the index page, and logout from it.
"As soon as I click the Sign In
button with the login details, the Enter new password
section is displayed because I set the Change password on next logon property to True.
Fill in all text fields and click OK to apply the change.
However, this message: Password Change option is off in Client Setup on Server
is displaied and the change is not applied.
To avoid this interference, I can set True for the service property: Allow User Password Change in the Sharperlight Client Setup.
Let's go for Client Setup and set True for the property.
Click OK to save the change, and restart the Sharperlight Service.
Go back to the Index page.
Sign in with User1, and it will force you to change the password.
Set the new password and Click Apply
.
This time, the change is applied without any interference.
Now I can login with the new password.
When the service property: Allow User Password Change in the Sharperlight Client Setup is set to True, the gear icon is displayed, allowing all Sharperlight users
to change their passwords.
When I log in with User2, who is a Sharperlight user
, I can change the password by clicking the gear icon.
However, with a Windows Domain user
, the option cannot force the change.
Afterword
After changing the password with the option: Change password on next logon, the option is set back to False, and the user's password is overwritten with the new password.
The user option: Change password on next logon and the service option: Allow User Password Change work for Sharperlight users
only.
I hope this helps with your work.