On Fri, Oct 16, 2009 at 6:38 AM, jitesh <[email protected]> wrote: > > Hi, > > In TG1 we were getting the current user object as > "identity.current.user". > > In TG2, we can get the userid by using "request.identity > ['repoze.who.userid']". > After getting the userid, we can get the current user object by making > a query. > > Instead of doing this, is there any method like TG1 to access the > current user object? > Any information is highly appreciated. > Yes, the api is a bit ugly but it's there.
You can ignore the rest of the thread http://groups.google.com/group/turbogears/browse_thread/thread/c2aa4cb5ed07f52d/ > Thanks > jitesh > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

