Re: automatic portal member creation

Joachim Schmitz <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Aroldo Souza-Leite schrieb:
> Hi list,
> 
> I'm trying to write a script to create a CPS-site member from a given
> list of attributes automatically, including the new member's initial
> password. The script doesn't have to be a PythonScript - an
> ExternalMethod or a Zope Product would also be ok.

I did it with:
pr = context.portal_registration
pr.addMember("memberid", '123456',roles=('Member','Contributor',))


-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.