On Tue, Mar 9, 2010 at 6:28 PM, Nithya Vembu <[email protected]> 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-through-xml-rpc-tp4701451p4703643.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to