[Zope] the name of the 'user' running zope

2006-11-09 Thread Alan

Hi dears,

Is there a way (method or attribute) of getting the string for the
'user' running zope?

Many thanks in advance.
Alan
--
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.

http://www.bio.cam.ac.uk/~awd28

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] the name of the 'user' running zope

2006-11-09 Thread Andreas Jung



--On 9. November 2006 16:36:39 + Alan [EMAIL PROTECTED] wrote:


Hi dears,

Is there a way (method or attribute) of getting the string for the
'user' running zope?





os.getuid()
- 'pwd' module of Python

-aj

pgpaUYsdO31l8.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )