Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
 <Parameter name="com.frevvo.security.ldap.customAttributes" value="initials,telephoneNumber,carLicense" override="false"/> 

A JSON array string is returned and this listing multiple car licenses is returned from Active Directory. 

Code Block
["QW12-TRT-4334","F255-9215-0096","F255-9215-0095","F255-9215-0094"]

This rule will populate the options of a dropdown control named carLicense.

Code Block
carLicense.options=JSON.parse(_data.getParameter('subject.carLicense'));