Sebastian Sippl wrote:
> I need to get the name of the current user , in a python script....

In a recent Zope, you should be able to use:

from AccessControl import getSecurityManager
user = getSecurityManager().getUser()

Cheers,

Evan @ Zope


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to