Hi,
So you do not want to create an XWiki plugin, but instead you want to
access an XWiki instance from your outside (Java?) application, using
XMLRPC, and create the users.
Well, if you look at an XWiki user profile's page using the objects editor,
you see that you have there an XWiki.XWikiUsers object defining the user
and an XWiki.XWikiRights object setting the same user as editor of the
profile page.
All you have to do now, since you`ve already created the user object, is to
add another object (of class "XWiki.XWikiRights"), set the right
"levels"
to "edit" and the "users" to the id of the user you`ve just created
(same
ID as his profile page ex: "XWiki.MyUser").
Hope this helps,
Eduard
P.S.: As a suggestion for any future questions that you might want to post
to the XWiki mailing list, please take the time to properly formulate your
question by properly specifying/detailing the task you want to perform and
the methods you want to use to perform it. This way we limit the number of
exchanged mails and the time wasted by well intentioned people on trying to
understand what you are actually asking. Thanks.
On Fri, Feb 17, 2012 at 5:29 PM, modularre-333 <modularre-333(a)yopmail.com>wrote;wrote:
thanks for your answer.
I'm using the XML-RPC API, but I have a problem when I create a user
The creation of the user is done perfectly, but when I login with that
newly
created user, I can't edit the profile.
I saw that in "XWiki.XWikiGlobalRights" may declare privileges, but can not
find how to do it from the API.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/plugin-xwiki-tp7285335p7294602.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs