On Thursday 26 July 2001 15:28, you wrote:
<dtml-let member="portal_membership.getAuthenticatedMember()">
<div class="Desktop">
<tr> <b><dtml-var "member.first_name">'s Membership</b> </font> </td>
which will return the first name from the registration form of
my portal.
hth
Norman
I know this feature .. but I was wondering if I - from any python script "under Zope" could get the user object from a specified ID ... and not from a dtml method.
member = context.portal_membership.getAuthenticatedMember() first_name = member.first_name
# Noite: I've never used portal_membership, this is an educated guess.
Well I found out that it was because the user object I tried to get wasn't a member of the portal. Everything works fine now :-) Regards, -- Gitte Wange Jensen Sys Admin, Developer and a lot more MMmanager.org Aps, Denmark Phone: +45 29 72 79 72 Email: gitte@mmmanager.org Web: www.mmmanager.org Quote of the day: Ok, the guy who made the netfilter Makefile was probably on some really interesting and probably highly illegal drugs when he wrote it. - Linus Torvalds