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
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!
That's absolutely fantastic!
Thanks a lot