Site structure
Version 3.x > Site structure > Complimentary Registered Users Data in DB View modes: 
User avatar
Member
Member
Paul - 1/20/2009 7:18:15 AM
   
Complimentary Registered Users Data in DB
I have an existing database of users I would like to use in the Kentico DB.

I intend to populate the CMS_User table with this existing data using the Kentico API. However, there are additional columns of data in the existing DB that will not fit in the default structure of the Kentico DB.

How do you recommend I create new fields/columns in the Kentico DB that will in turn be recognised in the CMS front end of Kentico when using the CMS interface?

Thanks,
Paul.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/21/2009 6:57:01 AM
   
RE:Complimentary Registered Users Data in DB
Hi,

You need to create these custom fields through Site Manager -> Development -> System tables -> CMS_User table. After these the fields are registered. You can handle the fields values in your code as it is usual using GetValue() and SetValue() methods.

You will need to also add these fields e.g. to registration form web part, etc.

Best Regards,
Juraj Ondrus