X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/efae6157ec06dbc7b7502e14f764473a234e1a3f..c90959b27d4221714d08b8c0a64ec75bf99b9010:/MembershipTool.py?ds=inline diff --git a/MembershipTool.py b/MembershipTool.py index f68a769..d60ed39 100755 --- a/MembershipTool.py +++ b/MembershipTool.py @@ -19,8 +19,8 @@ ####################################################################################### """ Plinn portal_membership -$Id: MembershipTool.py 1547 2010-01-05 16:24:22Z pin $ -$URL: http://svn.cri.ensmp.fr/svn/Plinn/branches/CMF-2.1/MembershipTool.py $ + + """ from AccessControl import ClassSecurityInfo, getSecurityManager @@ -243,7 +243,7 @@ class MembershipTool( BaseTool ): return userid memberName = getattr(member, 'name', '') memberGivenName = getattr(member, 'given_name', '') - memberId = member.id + memberId = member.getId() memberFullName = formatFullName(memberName, memberGivenName, memberId, nameBefore = nameBefore) return memberFullName