You need to sign in to do that
Don't have an account?
API for setting a user's Security Question and Answer
Hi,
I have a use case, where I am creating a Salesforce user using the API, and setting the password using the setPassword() API. There is a web tab on my .Net application that automatically logs the user into Salesforce using the login credentials that the code sets while creating the user. So the login process is seamless to the user, and he / she would not have to enter the usename and password manually.
However, when the application logs the user in the first time, it redirects him / her to set the Security Question and Answer. I want to skip this process by setting these up when the user is set up. However, I am unable to find an API that will allow me to set these attributes. Is there a way to set the question and answer using APIs?
Ram
Could this be done with the "update" api call do you think?
pass it a bunch of "user" objects with the fields in question specified maybe.
I'm guessing here of course, I haven't actually looked.
Well... Salesforce hasnt exposed these two fields on the User object.. You can set the password, but not the security Q and answer... Its annoying! :(
Regards,
Ram
Those fields are not exposed. So no, you can't do this.