issue #19290: added security into syncUser