[Zope-CMF] Set properties on other users.

Florent Guillaume fg@nuxeo.com
20 Sep 2001 09:49:12 GMT


Hi Chris,

Try. portal_membership.getMemberById().setMemberProperties().

getMemberById() returns a user wrapped in the portal_memberdata tool, so
you should then be able to call setMemberProperties on it.

Regards,

Florent Guillaume
Nuxeo

Chris Withers  <chrisw@nipltd.com> wrote:
> Hi,
> 
> If I've got an admin screen where an administrator can set the properties
> (username, password, etc) of members, what method should I use to change those
> properties?
> 
> The closest I can find is portal_registration.setProperties(), but that onyl
> allows me to set the properties of the currently logged in user.
> 
> Should I subclass the registration tool and add a setOthersProperties method or
> is there somethign I'm missing?
> 
> cheers,
> 
> Chris
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests
>