[Catalyst] getting the role id

Octavian Rasnita orasnita at gmail.com
Sun Feb 4 11:52:13 GMT 2007


Hi,

Is it possible to get the id of the roles of the current user from $c->user?

I found that I can get the role names using $c->user->roles, but I need the 
id of those roles.
Do I need to make another query to the database for finding this?

Thank you.

Octavian




More information about the Catalyst mailing list