Dear All,
Now I want to add a user automatically, and involve a role for it , By
using a API in my class.
But I can't find any api from Magnolia Source code.
I has already use this code to try it
here's the code :
HierarchyManager hm =
ContentRepository.getHierarchyManager(ContentRepository.USERS);
Content rootUser = hm.getRoot();
NodeData userNode = rootUser.createNodeData("Vuongdang");
rootUser.save();
but there is no change.
Would you please help me.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------