Person.getAndDecryptPersonPassword()

The method decrypts and returns the decrypted password of the person entity in plain text.

Availability

IBM® Tivoli® Identity Manager 5.x

IBM Security Identity Manager 6.x

IBM Security Identity Manager 7.0.

Synopsis
person.getAndDecryptPersonPassword()
Arguments
None
Description
This method is defined on the Person object. It returns a string that represents the plain text password for the person. It decrypts and returns the decrypted password set in the person object. This function returns null if the password is not present. This method can be used in IBM Verify Identity Governance scripting context if the javascript.password.access.enabled property is set to true in the IM_HOME/data/scriptframework.properties file.
Usage
//The script is used in a workflow, in which Entity is a person object.
var person = Entity.get();
//get person password set on the person
var personPassword = person.getAndDecryptPersonPassword();