Portal Engine
Version 3.x > Portal Engine > ASP.NET Profile Provider View modes: 
User avatar
Member
Member
TC - 11/10/2008 6:55:40 AM
   
ASP.NET Profile Provider
Hi,

Can I use Profiles in the CMS?

The system already has Membership and Roles but I need to store Profile information too.

Thanks
TC

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/10/2008 9:39:35 AM
   
RE:ASP.NET Profile Provider
Hi,

Could you please give us more details about what you want to achieve?

You can extend the user information e.g. by adding new fields to the registration form web part and also to MyProfile web part - http://devnet.kentico.com/Knowledge-Base/API-and-Internals/Adding-custom-fields-into-RegistrationForm-web-par.aspx


Best Regards,
Juraj Ondrus

User avatar
Member
Member
TC - 11/10/2008 10:06:29 AM
   
RE:ASP.NET Profile Provider
Hi,

I would like to implement a Custom Profile Provider which uses a slightly modifed version of the built in profile table (aspnet_Profile) to maintain profile information which links to the current CMS_User table.

The UserID column in the current aspnet_Profile table uses a GUID, whereas the UserID in the CMS_User table uses an Int.

Is it possible to modify the aspnet_Profile table to use an Int column and link this to CMS_User?

I'd like to do this because it gives me access to a strongly typed Profile class and adding profile properties is simply a case of editing the web.config file.

I think I have probably answered my own question here in that I need to implement a Custom Profile Provider. Has anyone done this before for the Kentico system?

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/11/2008 7:21:58 AM
   
RE:ASP.NET Profile Provider
Hi,

I am afraid but we do not have any experiences with this. You can try to use also the user GUID from the CMS_User table and use it together.


Best Regards,
Juraj Ondrus