250251252253254255256257258259260
DomainRegistry.userRepository().add(user); ApplicationServiceRegistry .identityApplicationService() .changeUserSecondaryTelephone( new ChangeSecondaryTelephoneCommand( user.tenantId().id(), user.username(), "777-555-1212")); User changedUser =