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