Hey,
I create a process to add users with the groovy code bellow.
import org.bonitasoft.engine.identity.UserCreator;final UserCreator user = new UserCreator (field_login2, field_pw2);
user.setFirstName(field_nom1).setLastName(field_prenom1);
apiAccessor.getIdentityAPI().createUser(user);
return true
The creation is done and every think is alright. Otherwise i have 2 problems :
-
The users are not created in the studio too. Only in the portal.
-
Once, i close the portal my users added, disepeared from the portal !
Thank you !