issue #19224: Make user sync function call a function directly so it is secure.