Cannot move document to shared private on first-use folder.
The context in which you are running the script will have a bearing on whether this will work or not, as will the ACL right that controls the creation of private views and folders: "Create personal folders/views". Private views/folders do not work on Web, so you might need to try a different approach if you are attempting to use this approach on the Web.
Related Q&A from Dave Hatter
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.