UserCreationService

Init or get instance UserCreationService over global Imcms.getServices Imcms.getServices().getManagedBean(UserCreationService.class)

Use API

void createUser(final UserFormData userData) throws UserValidationException;

Example usages

UserService userService = Imcms.getServices().getUserService();

UserFormData userData = userService.getUserData(int userId);

Imcms.getServices().getManagedBean(UserCreationService.class).createUser(userData);