On 12/30/06, Octavian Rasnita <orasnita at gmail.com> wrote:
> Hi,
>
> I have tried to get the id of the currently logged user, using:
>
> $c->user->id
>
> But it returned same thing as
>
> $c->user (the username and not its ID).
>
Hi Octavian,
Assuming you are using DBIC, try:
$c->user->get_column('id')
Regards,
Kennedy