[Zope] User info

Chris Withers chrisw@nipltd.com
Mon, 04 Aug 2003 11:52:55 +0100


Rex McKanry wrote:

> I was wondering if there is away to capture the users
> ID when I have someone login. I want to get the user
> name and find it in a database to determine if this
> person is a supervisor or not. Then let them see
> screens that others are not allowed access to.

You should be using Zope roles to do this.

Have a read up on them.

Depending on where your usersnames and roles come from, you may want to change 
the userfolder you're using.

Sounds like this could be pretty cimply scripted with SimpleUserFolder...

cheers,

Chris