You need to sign in to do that
Don't have an account?
Jennifer.Schnell
Reset User Password due to forgotten answer to security question
I have a user that cannot get into our org because he forgot his answer to his security question. I researched online and see I can use the developer console and set my own password for him to can access and then he can change his security question/answer. I am not too familar with the developer console or APEX code. I am trying to use the below, but get an error "Unknown error parsing query"
SELECT System.setPassword (userID='005G00000085EnF','NEWPASSWORD')
Can anyone identify what I have wrong? Thanks
SELECT System.setPassword (userID='005G00000085EnF','NEWPASSWORD')
Can anyone identify what I have wrong? Thanks
I am wondering why you have to do it in console.
How about in the setup→Manage Users→Users and reset his/her password there?
Click on "Debug"
Select "Open Execute Anonymous Window"
Type "System.setPassword('005G00000085EnF','NEWPASSWORD');" in "Enter Apex Code"
Highlight "System.setPassword('005G00000085EnF','NEWPASSWORD');" and Select "Execute Highlighted"
The user's password with user id "005G00000085EnF" is changed to "NEWPASSWORD"
Hope this works for you !