[Zope] Requesting AUTHENTICATED_USER from within Python script?
olpa@sybcom.de
olpa@sybcom.de
Wed, 26 Sep 2001 17:18:56 +0200 (MEST)
Blame me if this is already answered:
how to check if current role is Manager and how is the name of the
authenticated user from within a Script (Python)... i.e. how to do
AUTHENTICATED.has_role('Manager') and AUTHENTICATED_USER.getUserName()
without passing AUTHENTICATED as argument.
Is this in context ?
---
If you couldn't find any weirdness, maybe we'll just have to make some!
-- Calvin
---
Oliver Pabst .-------------------------.
mailto:olpa@sybcom.de : :
phone :+49 681 56600600 : project department : SYBCOM GmbH
fax :+49 681 56600660 : : http://www.sybcom.de