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 availableto populate form controls with the Active Directory information. There are many attributes available in Active Directory. 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 

Single-value Attributes

If you are using the tomcat bundle, First Name, Last Name,Employee Email, Manager and Active Directory users/groups attributes are already configured in the LDAP sections of the <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml file. The business rule shown pulls the Email Address, First and Last Name of the logged in user and populates the respective form fields.

Frevvoproduct
 provides several built-in methods that can be used in a business rule to populate controls on your forms. The business rule shown fills the respective form fields with the First/Last Names and Email Address of the logged in user.

 

 

 

Section
Column
Code Block
if(form.load)
{
mail.value=_data.getParameter('subject.email');
firstName.value=_data.getParameter('subject.first.name');
lastName.value=_data.getParameter('subject.last.name');
}
Column

Image Added

 

 

 

 


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 Initials and Home Phone as an example. The attributes for Middle Initials and Telephone Number are initials and telephoneNumber respectively. 

...