Yep. Got it working.
On 6/14/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
 That's actually the right API. I don't think it uses any UI specific
 elements in the context
 Ludovic
 Duke Tantiprasut a écrit :
  Hi All,
 Is there an easy way to programmatically add a user? The createUser
 method seems to require a bunch of other parameters that seems UI
 specific:
     public int createUser(String xwikiname, Map map, String parent,
 String content, String userRights, XWikiContext context) throws
 XWikiException
 Thanks
 Duke
 ------------------------------------------------------------------------
 --
 You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
 ------------------------------------------------------------------------
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.8.3/358 - Release Date: 
 07/06/2006
  
 --
 Ludovic Dubost
 XPertNet: 
http://www.xpertnet.fr/
 Blog: 
http://www.ludovic.org/blog/
 XWiki: 
http://www.xwiki.com
 Skype: ldubost AIM: nvludo Yahoo: ludovic
 --
 You receive this message as a subscriber of the xwiki-dev(a)objectweb.orgmailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws