The custom user-password script specifies elements that must be present in the HTML response that starts the current user session with a web application. To write the script, you must know what HTML response fields the web application requires. The script must retrieve required information from the web application’s profile and the user object, and must then specify the response fields and their values using the
response.AddFormField() method. After the script executes, the Privileged Access Service follows the script’s specifications to create an HTML response.