Hi

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 this answer 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?

Kind regards Björn

asked 21.10.2015 at 12:13

Bj%C3%B6rn's gravatar image

Björn
(suspended)
accept rate: 100%


A user can be created using the following ivyScript code:

import java.util.Locale;
ivy.wf.getSecurityContext().createUser("userName", "full name", "password", Locale.GERMAN, "userName@email.com", "");
link

answered 21.10.2015 at 15:26

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: 21.10.2015 at 12:13

Seen: 3,006 times

Last updated: 21.10.2015 at 15:26