Person.getAndDecryptSynchPassword()
The method decrypts and returns the decrypted sync 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.getAndDecryptSynchPassword()
- Arguments
- None
- Description
- This method is defined on the Person object. It returns a string that represents the plain text
sync password for the person that is used for synchronization. It decrypts and returns the decrypted
sync password set in the person object. This function returns null if the sync 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 sync password set on the person var synchPassword = person.getAndDecryptSynchPassword();