Hi Dilip,

 Thanks for the valuable reply.

  I tried your example with this set of code and password also able to
create for the user. But i didnt checked whether its plain text or hashed..
I used this snippet of code

            XWikiObject xobj = new XWikiObject();
            xobj.setClassName("XWiki.XWikiUsers");
            xobj.setPageId("XWiki.testuser");
            xobj.setProperty("first_name", "Test");
            xobj.setProperty("last_name", "User");
            xobj.setProperty("password", "aaaaaa");
            rpc.storeObject(xobj); 

If you check the xwiki-core..jar, you can find the class com.xpn.xwiki.
XWiki  and method getUserClass() which has properties which you are meaning
here. I hope we can use all the properties depends on  our need.

Thanks,
Nithya.


And i logined as test user and its successfully working.


-- 
View this message in context: 
http://n2.nabble.com/Creating-user-using-XML-RPC-tp4669004p4701447.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to