[Catalyst] getting the ID of the user

hkclark at gmail.com hkclark at gmail.com
Sat Dec 30 09:28:13 GMT 2006

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:


More information about the Catalyst mailing list