<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Creating a new user programmatically</title><link>https://answers.axonivy.com/questions/1525/creating-a-new-user-programmatically</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would like to realize the following scenario: Let's say, we have a website publicaly accessible (e-gov-platform). There is a link to a Process Start (HTTP Request). The first activity of this process should be a login/registration form. If the user has already an account, he should be able to login with username and password (for this part &lt;a href="http://answers.axonivy.com/questions/1515/login-page-on-process-start-with-http-request-link-and-only-wf-users-set-to-true"&gt;this answer&lt;/a&gt; is helpful). If not, he should be able to register a new user with a typical registration form. And here I'm stucked: In the public API I cannot find a method to create a new user. Am I searching in the wrong direction?&lt;/p&gt;
&lt;p&gt;Kind regards
Björn&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1525/creating-a-new-user-programmatically" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 21 Oct 2015 15:26:16 -0400</lastBuildDate><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/1525/creating-a-new-user-programmatically/1527</link><description>&lt;p&gt;A user can be created using the following ivyScript code:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import java.util.Locale;
ivy.wf.getSecurityContext().createUser("userName", "full name", "password", Locale.GERMAN, "userName@email.com", "");
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Wed, 21 Oct 2015 15:26:16 -0400</pubDate><guid>https://answers.axonivy.com/questions/1525/creating-a-new-user-programmatically/1527</guid></item></channel></rss>