Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom database integration View modes: 
User avatar
Member
Member
james-chillisauce.co - 8/5/2011 1:45:34 AM
   
Custom database integration
Hello Everyone!

I am a new guy regarding social community site development with kentico. I need to ask some question. Here are my questions.

1) We already have database with more then 200 thousand customers. I don't want to import them in kentico db. i just want that our customers use their existing credentials to sign in to our new community site that we will develop using kentico. I also don't want their info to be saved in kentico db.(I just want that all our customers becomes members of our new social community site) How can i accomplish this task in kentico?

2) When a customer log in to our social community site, the profile that we have stored in our old db against that customer, should reflect to our new social community site. I also want that if a user modify his or her profile from social community site, the changes should reflect in our old db, not in kentico db. How exactly can i accomplish this task?

Do i need to write custom membership provider?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/5/2011 3:57:49 AM
   
RE:Custom database integration
Hi,

the first point can be implemented using custom security handler.

The record in Kentico database will be created (for new user), but the user will be authenticated using credentials from your external database each time he tries to log in.

As for second point - you could set appropriate information (fields) as described in custom security handler example. You could add fields to CMS_User or CMS_UserSettings (Site Manager - Development - System tables) and set it when a user logs in. Synchronization with your external database you could manage in a custom web part.

Alternatively you could create a custom web part where the user could modify his profile - this web part could be connected with the external database.

Best regards,
Ivana Tomanickova