London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Adding to the user profile

Vote:
 

Hi,

I want to extend the EPiServer User in CMS 5 to hold additional properties and hold a reference to a customer account (customerID) in an eComms app, does anyone have some advice on the best way to achieve this?

In the past (cms 4) I have created a customDB to store and extend the user properties and used the EPiServer UserSid as the unique key to marry the 2 accounts together.

Thanks in advance

#31451
Jul 30, 2009 20:07
Vote:
 

Hi Ian.

If I understand you correctly, maybe this a solution to your problem:

You could extend the EPiServerProfile/SqlProfile with the properties you want. You could also show/edit these properties from the "Edit/Create user" UI by using PlugInArea.SidSettingsArea. This way you can store the customerID as an own property on the user.

Take a look at this blog post by Stefan Forsberg: http://world.episerver.com/en/Blogs/Stefan-Forsberg/Dates/2009/5/Adding-a-connected-Company-field-to-an-EPiServer-user--A-love-story/

You can also take a look at this thread: http://world.episerver.com/Forum/Pages/thread.aspx?id=15894

Hope this helps!

Br, Tore

 

#31453
Jul 31, 2009 8:42
Vote:
 

That's absolutely fantastic!

Thanks a lot

#31454
Jul 31, 2009 8:48
Vote:
 
#33770
Oct 20, 2009 10:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.