Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

In my ecommerce module I create a user automatically after the customer enters an email address (if he is not registered in this portal with that email address. in that case I ask for the password). That works like a charm, no problem.
But when the same user already exists in another portal in the same dnn installation, createuser returns "UserCreateStatus.UsernameAlreadyExists". How can I add this existing user from the other portal to the actual portal ? I can not see any UserController.AddUserToPortal(UserId, PortalId) - method. Would be easy for me to create the SQL statement by myself but that is not my preferred way....

Related Content

Related Content

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.