On Tue, Mar 9, 2010 at 6:28 PM, Nithya Vembu <nithu2k5(a)gmail.com> wrote:
Hi Marius,
Thanks for the reply.
This is my code snippet which i tried before posting this post.
XWikiObject xobj = new XWikiObject();
xobj.setClassName("XWiki.XWikiAllGroups");
"XWiki.XWikiAllGroups" is the page where to sotre the object, it's
className on the other side must be "XWiki.XWikiGroups"
xobj.setProperty("member",
"test1");
rpc.storeObject(xobj);
But i am getting the error that xobj is null in rpc.storeObject(xobj)..
Whether i have create some pages??
Here i want to add the user to xwikiallgroup..
Please guide me.
Thanks,
Nithya.
--
View this message in context:
http://n2.nabble.com/Adding-user-to-defaul-group-with-appropriate-rights-th…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users