-----Original Message----- From: Robert Canary [mailto:rwcanary@ohiocounty.net] Sent: Monday, June 28, 1999 8:07 AM To: zope@zope.org Subject: [Zope] automating new user folders
Hi,
I would like to create a zope folder under the personal folder automagically when I create a new user account on my term server. I also would like to have certain objects (ie standard user page) included in this new folder.
What is the best way of going about this?
I was thinking I could use a perl script to (with the www.pm) to send a commad to the Zope.cgi, but I don't know how to get past the logon. Can I do something like "url/Zope.cgi/manage?username&password" ?
It would probably be easier to write your own User Folder. Also, if you want to send commands Zope, the best way to do it is use ZClient, which is a python based HTTP RPC like mechanism that lets you call Zope methods and objects from remote machines over HTTP. It allows you to easily specify users and passwords. look in lib/python/ZPublisher/Client.py -Michel
Thanks in advance :-)
-- robert canary system services OhioCounty.Net rwcanary@ohiocounty.net (270)298-9331 Office (270)298-7449 Fax
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )