[Zope] Changing owner of a folder object
Jo Meder
jo at meder.de
Mon Feb 7 15:29:52 EST 2005
Am 07.02.2005, 21:24 Uhr
schrüb Jeff Gentry <jgentry at jimmy.harvard.edu>:
> It appears that changeOwnership() expects an actual user object
> and not the character string. I then tried using the 'getUser()' method
> to retrieve the user object associated w/ the name but keep getting
> NotImplentedErrors.
getUser() AFAIK is a method of UserFolder (e.g. acl_users). To get
the user object you'd have to first get hold of the UserFolder the
user object lives in.
Best regards,
Jo.
--
internetmanufaktur jo----------------------------- Berlin, Germany
|||||||||||||||meder-------------------fon: ++49-30-417 17 63 33
http://www.meder.de/ ------------------- fax: ++49-30-417 17 63 45
Kollwitzstr. 75 ------------------------ mob: ++49-170- 2 98 89 97
10435 Berlin ---------------http://www.meder.de/keys/jo-pubkey.txt
More information about the Zope
mailing list