Hi All, 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. Thanks, Rex __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
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
participants (2)
-
Chris Withers -
Rex McKanry