function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

SetPassword for user

I created a form to allow a SelfServiceUser to change his/her password. I have been able to change the password for the SelfService Demo Username ( the was generated during the the SelfService Jump Start. However, when I enabled SelfService for one of the entries in my Contacts and tried to change the password for that user. The password was not changed. I was using the User id. Do I need to create a SelfServiceUser object using API 6.0 for that Contact before I'm able to change his/her password using my form?
You don't need to of created the self service user via the API, but you do need to pass the 18 char Id of the self service user that you want to set the password of. (not their login username)