Versions Compared

Key

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

...

Active directory attributes can be retrieved from the LDAP server using Business Rules. The rules use the 

Frevvoproduct
 _data.getParameter('subject.name of attribute) syntax to make the information available. There are many attributes available in Active Directory. Multi valued View  this website for a list. Multi value attributes are also supported. This feature works if you are using an LDAP or LDAP Container Security Manager configuration.

Configure Retrievable Attributes 

...

If you want to pull additional information, you must add the "com.frevvo.security.Idap.customAttributes" configuration parameter where the value is a comma separated list of attribute names to be retrieved, Let's use the employee's Middle Name Initials and Employee IDHome Phone as an example. The attributes for Middle Initials and Telephone Number are initials and telephoneNumber respectively. 

Follow these steps to modify the configuration:  

...

Code Block
 <Parameter name="com.frevvo.security.ldap.customAttributes" value="employeeIDinitials,middleNametelephoneNumber," override="false"/> 

     5. Save the file after all your changes are made. Restart 

Frevvoproduct
 

Add the addititonal additional lines to the business rule to populate the Employee ID and Middle Name Middle Initials and Home Phone fields. 

Code Block
if(form.load)
{
mailFirstName.value=_data.getParameter('subject.mailgivenName');
firstNameMiddleInitials.value=_data.getParameter('subject.givenNameinitials');
lastNameLastName.value=_data.getParameter('subject.sn');
employeeIDHomePhone.value=_data.getParameter('subject.employeeNumbertelephoneNumber');
employeeTypeEmployeeEmail.value=_data.getParameter('subject.managermail');
}

Multi-valued Attributes

...