[Zope] How to get the name of the authenticated user when writing cmf types ?

Low Kian Seong zope_low@yahoo.com
Thu, 2 Jan 2003 00:14:20 -0800 (PST)


Dear People,

I am coding a cmftype to be used together with Plone.
My question is why can i get the user using :

self.REQUEST['AUTHENTICATED_USER'].getUserName() 

but when i try :

AccessControl.SecurityManager.getUserName() 

it gives me an error saying that type 'module' is
uncallable ?

Any help or explanation is appreciated. Thank you.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com