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.
NodeRef node = new NodeRef("user://alfrescoUserStore/0c946e1b-b5b2-4f86-86ee-26fb15f10c9c"); serviceRegistry.getNodeService().setProperty(node, ContentModel.PROP_NAME, "A_NEW_NAME");
That code is fine.I wonder whether your question should be in regard to the node's path rather than the name?