[Zope] moving users
Ben Avery
ben@thesite.org
Mon, 06 Jan 2003 18:58:49 +0000
I need to move all the users in an acl_users folder at a point in my
folder structure into the acl_users folder further up, while still
preserving the users there.
How can I do this?
There doesn't seem to be a way to cut and paste users between folders in
the ZMI, so I'll have to write a script to do this.
Looking at the userFolder API, I would have to read all the users in the
source folder with getUsers(), then use userFolderAddUser with all the
parameters to create the users in the destination folder.
But I would need access to the password in order to create the users,
which the user object doesn't give me.
Can anyone think of a way to do this?
TIA