Specifying the password

The script is not required to create a password, and often does not. If it does create a password as a string value, it must assign the password to the LoginUser.Password property so the custom user-password script can read the password later.

If the script doesn’t assign a password value to LoginUser.Password, the Privileged Access Service determines the password value by asking the user for the password. The Privileged Access Service then assigns the user-provided password to LoginUser.Password. The Privileged Access Service also saves the password so that the user doesn’t need to re-enter the password for later user sessions with the application.