I would not mess with the Umbraco database. It would compromise your upgrade path.
Instead I would save the extra data in a separate table with a reference to the user in question. This ofcourse means that you cannot save your exstra data through the MakeNew() method, but you could make your own wrapper for it that saves and fetches the data.
Extend usertable, best practice
Hi,
I like to extend the usertable with a phonenumber. What would be the best practice?
I like to use the lovely User.MakeNew() function, but is this possible?
Please let me know!
Roel
Add a property to the membertype, i.e. userPhone, and use the umbraco API to get, set it, member.getProperty("userPhone").Value
I think Roel is talking about users, not members.
I would not mess with the Umbraco database. It would compromise your upgrade path.
Instead I would save the extra data in a separate table with a reference to the user in question. This ofcourse means that you cannot save your exstra data through the MakeNew() method, but you could make your own wrapper for it that saves and fetches the data.
Yes, I meant users but with the functionality of members :-) Think I should use members instead of users, didn't know of them.
Thanks to both!
is working on a reply...