Hi Duke, Duke Tantiprasut a écrit :
Hi All,
How do you modify the User Profile and add additional persistent properties?
Do I modify the XWiki.XWikiUsers class?
Yes.. You can add field there
Also how do you retrieve these property values?
You can add the fields to the XWiki.XWikiUserSheet using the display API $doc.display("propname", $obj) (see how it is done in XWiki.XWikiUserSheet) there is also $doc.getStringValue("propname", "XWiki.XWikiUsers") You can also use the "Edit Object" link in "More Actions" to modify the data in a user page.
Thanks.
Duke
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic