issue #19224: Rework user sync as a regular function. Can not be dispatchable because of security problems with that.