11 Aug
2003
11 Aug
'03
6:27 p.m.
It would have been better to ask this CMF related question in the CMF mailing list (<mailto:zope-cmf@zope.org>). Karuneesh Bagga wrote at 2003-8-11 14:09 +0530:
... The function getAuthenticatedMember returns the member object by which i am able to access the currently logged in user properties like his email etc.
You can use the "MembershipTool" method "getMemberById" to obtain a "MemberData" object for a member identified by it id (aka "username"). This method is protected by the "ManagePortal" permission. Thus, you may need a proxie role. Then you can use the "MemberData" method "setProperties" to modify the properties for this member. Dieter