I know that this question is very old, but I think that the topic of the question is still may be accual. So, in my case, I found that 'no affect' can have a place in case if you do not use a trailing directive USER yourcreateduser
after the directive RUN useradd --another code of creation--
.