I have used the getUserName() function in page templates and passed that name as a parameter to python scripts in Zope. But, now I need to independently verify the authenticated user from a script, not relying on anything passed in from a page. Is it possible to do so, and if so, how? The basic need is to obtain the logged in user’s name from a script directly from Zope from within a python script.
If this should be posted to another list, please let me know.
Regards,
Tom Nichols
tom@westlong.com