Thanks Jeroen -- I looked at there before. Since am extending UmbracoUser with more properities in another table -- I want to maintain transaction while new user gets created.
I want to make sure that it is OK to go directly to table insert. Thanks again.
User.MakeNew vs INSERT INTO UmbracoUser
I prefer INSERT INTO UmbracoUser for few reasons...is it OK do that way? Thanks in advance.
Well why don't you have a look if that's all what you need to do in the source: http://umbraco.codeplex.com/SourceControl/changeset/view/751c9aa11bbd#umbraco%2fbusinesslogic%2fUser.cs. It's always safer to create things using the Umbraco API. In v4 a lot of 'magic' happens ;).
Jeroen
Agree. And if some day you wish to install a package which hooks into the user creation process, it probably won't work.
Must be a really good reason not to use the API imo.
Thanks Jeroen -- I looked at there before. Since am extending UmbracoUser with more properities in another table -- I want to maintain transaction while new user gets created.
I want to make sure that it is OK to go directly to table insert. Thanks again.
is working on a reply...