Hello,
I'm trying to synchronize some AD account's fields to EPi's user fields.
In this moment, only username is synchronized. "First Name", "Last Name" etc are not sunchronized at all.
I found some comments related to use of ldapSync section within the web.config and that it does this kind of mapping.
For this purpose I created the schedule job that is described in (http://www.episerver.com/templates/CommunitySample.aspx?id=6639&epslanguage=EN) and used the call of LdapAuthenticationProvider.SyncUserSettings method.
"SDK documentation 4.6.1" descibes this method as "Updates the PersonalizedData object with values from an ldap source according to the settings in the /episerver/ldapSync section of web.config ".
So, according to the sdk description I defined the "ldapSync" section within the episerver section like below:
Well,
I've just discovered the right version of "Using LDAP for User Authentication". It is at "http://www.episerver.com/downloads/Documents/TechNotes/EPiServer%204.61/All%20Technical%20Notes/Using%20LDAP%20for%20User%20Authentication.pdf". I was reading the version that belongs to 4.50 and because of that I couldn't find details related to ldapSync section within web.config.
Anyway, as document describes, the real code should be like this: