Thank you. My fault was to try it in the shell. But the shell don't show the auth information, because it's another environment.
On May 2, 3:30 am, Russell <[email protected]> wrote: > auth.user_id and auth.user_group(auth.user_id) > > On May 2, 12:37 pm, Sverre <[email protected]> wrote: > > > How can I retrieve current user_id and group_id? I need the to put the > > ownership of something into a table.

