update public interface for getUserFolder

I forgot the public interface changes.

follow-up to #10766 

I will backport this and the changes from the other PR