As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var targetNode = userhome.parent.childByNamePath("<node_path>");
Hola.Yo me he encontrado con alguna que otra limitación en cuanto a los permisos en javascript, tanto en acceder a determinados niveles, como a realizar funciones como "system". Aquí comentan algo sobre permisos en javascript http://forums.alfresco.com/en/viewtopic.php?f=3&t=9683