Installation and deployment
Version 7.x > Installation and deployment > Mapping AD fields to Kentico - Automatic user creation View modes: 
User avatar
Member
Member
@davey_lad - 12/10/2012 10:27:49 AM
   
Mapping AD fields to Kentico - Automatic user creation
Is there anyway to configure how new users are auto created when using Windows Authentication. By that I mean, the mapping of their Full Name, First name & Surname etc to the relevant fields in Kentico.

Doing this with the AD Import utility is a breeze as it gives you the options to map the fields. However, when relying on new users to be automatically created when they land on the site it sets their Full name to the same as their username and doesn't set the First or Surname at all.

Can these field mappings be defined anywhere ?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/11/2012 6:47:53 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
Hi,

The basic import does not have settings for this. That's why the AD import toolkit is available - you can also schedule e.g. a Windows scheduled job to import the users periodically and also overwrite existing - so if a new user enters the site before the import, so the import will update the data.

Best regards,
Juraj Ondrus

User avatar
Member
Member
@davey_lad - 12/11/2012 6:55:14 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
The basic import isn't really that useful in this respect then.

I see yet another custom code exercise on the horizon. Where abouts in the Kentico code is the basic import triggered? Is it customizable ?



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/12/2012 2:12:48 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
Hi,

I am afraid but without the source code license you don't have access to that code.

Best regards,
Juraj Ondrus

User avatar
Member
Member
@davey_lad - 12/12/2012 2:19:32 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
How unfortunate.

Are there any plans on implementing a configuration feature for this? I suppose the code is already written in some respect in the form of the AD Import Utility. How difficult could that be to port into the web app.

Would be highly useful if you could just have a config file which maps your AD fields to a relevant Kentico fields thus giving you to the ability to create a more useful user record. Alternatively there should be at least the ability to turn off auto user creation entirely.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/12/2012 2:50:32 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
I am unaware of any plans in this regards. However, I am forwarding it to our product manage and you can also start a voting on the UserVoice portal.

Best regards,
Juraj Ondrus

User avatar
Member
Member
@davey_lad - 12/12/2012 3:11:07 AM
   
RE:Mapping AD fields to Kentico - Automatic user creation
ok thanks.

Added to User Voice
http://kentico.uservoice.com/forums/33767-features-general/suggestions/3440414-allow-active-directory-and-kentico-user-field-mapp