Versions Compared

Key

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

...

You can retrieve additional LDAP user information using the configuration parameter "com.frevvo.security.ldap.customAttributes" and Business Rules.  There are many attributes available in Active Directory. View  this website for a partial list. Multi value attributes are also supported. This feature works if you are using an LDAP or Custom attributes can be retrieved for users in a 

Frevvoproduct
 tenant using the LDAP Security Manager or the LDAP Container Security Manager configuration.

Configure Retrievable Attributes 

Single-value Attributes

Frevvoproduct
will automatically pull the logged in user's First Name, Last Name, Email from Active Directory. The designer can use built-in methods in a rule to populate controls on a form. For example, the business rule shown fills the respective form fields with the First/Last Names and Email Address of the logged in user. The rules use the 
Frevvoproduct
 the _data.getParameter syntax to populate form controls with the Active Directory information.

...

Column
width50%
Code Block
if(form.load)
{
EmployeeEmail.value=_data.getParameter('subject.email');
FirstName.value=_data.getParameter('subject.first.name');
LastName.value=_data.getParameter('subject.last.name');
}

...

width50%

...

 

If you want to pull additional information from Active Directory into your form, you must add a context parameter to the <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml file. The configuration parameter is "com.frevvo.security.ldap.customAttributes" and 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. 

...