Thanks in advance for any guidance. I am developing an application for a client that includes a shopping cart. From the shopping cart application, I would like to be able create a user in an existing DotNetNuke portal (that is separate from the shopping cart app). I created a reference to DotNetNuke, and instantiated the objects from the DNN API needed to create a new User. I know what the Portal Id is, so I can pass that in, and I am able to get through simply adding a user; however, when it gets to adding the membership profile, and logging the user created, and sending the New User Emails to admin and the user using GetSystemMessage, I get stuck on: PortalSettings.
Obviously, in an external app, I am not in the DNN http context, so PortalSettings would be nothing. So, my question...is there anything available (third-party, short-cut, trick, etc.) other than re-wrtiing all the code necessary to update profile, log user, send email since all of the core DNN API available uses PortalSettings. I would need to have the ability to Create, Update (and possibly Delete) a user from an external application. In short, do I need to write all the code to do that manually, or is there any way to use the API? Perhaps a webservice?
I'm not lazy and don't mind writing code, I'm just in a time crunch on a project and wanted to see if this wheel has already been invented. A search on Google and here hasn't brought forth anything fruitful. Thanks all.