| User user =
tenant.registerUser(
aCommand.getInvitationIdentifier(),
aCommand.getUsername(),
aCommand.getPassword(),
new Enablement(
aCommand.isEnabled(),
aCommand.getStartDate(),
aCommand.getEndDate()),
new Person(
new TenantId(aCommand.getTenantId()),
|