Exposin LDAP Attributes

Hello


We are trying to expose attributes of LDAP users for personalisation on a form a user submits to create a data record.



We have the users logging in before they access the form which authenticates against the LDAP bridge.



We would like to auto populate Name, Email, Username and Phone number.



So far we have discovered that %globals_user_name% as the default for the form entry auto displays the username of the user after they have logged in.



We have tried %globals_user_firstname%, %globals_user_first_name%, %globals_user_email% etc and a bunch of others but none seem to return anything.



How can we get the other info we require?



Thanks

Davo!

The keyword %globals_user_name% is the same as %asset_name% being run on the current user (ie. the "globals_user" part being replaced by "asset" when determining the keyword).


The first name, last name and email are accessible through asset attribute keywords. First Name would normally be accessible using %asset_attribute_first_name%, so for the global keyword you should use %globals_user_attribute_first_name%. Similar applies for the other attributes (%globals_user_attribute_username%, %globals_user_attribute_last_name%, %globals_user_attribute_email%)



Hope this helps :slight_smile:

[quote]The keyword %globals_user_name% is the same as %asset_name% being run on the current user (ie. the “globals_user” part being replaced by “asset” when determining the keyword).


The first name, last name and email are accessible through asset attribute keywords. First Name would normally be accessible using %asset_attribute_first_name%, so for the global keyword you should use %globals_user_attribute_first_name%. Similar applies for the other attributes (%globals_user_attribute_username%, %globals_user_attribute_last_name%, %globals_user_attribute_email%)



Hope this helps :slight_smile:

[right][post=“14544”]<{POST_SNAPBACK}>[/post][/right][/quote]



Thanks heaps ! Thats exactly what we needed.