Hello,

I am attempting to retrieve the value of the group_id attribute in the
User table.

I can see the value for User object within the debug output, and
confirm that this value exists from the database.

Other values, such as email, name can be retrieved just fine with
$this->Auth->User->('email');

however
$this->Auth->User('group_id')
refuses to return ANY value at all! :/

Can anyone point out what I could be doing wrong ?

Users and Groups are associated as in the tutorials.

User belongsTo Group
Group hasMany Users.

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to