+ Start a Discussion

Creating portal users with javascript remoting?

Is it possible to use the Site.createPortalUser from within a method that is invoked by javascript remoting?  When I try, I get no error, no userId, nothing in the logs, nothing.  Nothing happens.  The example for customizing the self registration process shows it happening in a visualforce environment using apex:form...  Does it not work otherwise?  Does anybody have any experience with this kind of thing?