I am using the AD Integration plugin version 1.1.3 and Gravity forms v.1.6.2 and have users authenticated to AD fine. The test tool will return the LDAP attributes as expected. The user logs on and the LDAP attributes are available via the Test Tool. My question is how can I use the LDAP attributes available after the user logged on via AD Integration Plugin in the Gravity form? I would like to prepopulate cn, sn, phone in the gravity forms by pre polulating cn, sn, givenname, phone that are available via AD Integration plugin into the gravity form?
It seems like I could look up select the option in the AD Integration Plugin to store the attributes in the wp_usermeta table, which would store the LDAP attributes in fields like adi_givenname, adi_cn, etc, and then do a lookup of this table via hook/function. However, this seems like an overkill. Is there a simpler way to accomplish the prepopulation of fields?