[web2py] Re: logged in user

2011-10-07 Thread Web2Py Freak
thnx guys its working now ..

[web2py] Re: logged in user

2011-10-07 Thread Anthony
The db.auth_user record of the current logged in user is accessible via auth.user, and the ID of that user is accessible in auth.user_id (as well as auth.user.id). Both auth.user and auth.user_id return None if the user is not logged in. For the name, auth.user.first_name and auth.user.last_name