> And would the group id be
> $this->Auth->group('id');
> ?
No, http://api.cakephp.org/1.2/class_auth_component.html, but you can
$this->Auth->user('group_id')
HTH,
- Dardo.
> Anja
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von
> thatsgreat2345
> Gesendet: Donnerstag, 13. November 2008 17:35
> An: CakePHP
> Betreff: Re: regarding Auth Component..
>
>
> For just id $this->Auth->user('id');
>
> On Nov 13, 6:32 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>> See the value of $this->Auth->user()
>>
>> Hope that helps!
>>
>> On Nov 13, 9:45 am, Abhishek <[EMAIL PROTECTED]> wrote:
>>
>> > Hi,
>> > Am using auth component for user authentication ...
>>
>> > How do i fetch the value of the id of the user who has been
>> > validated by the Auth Component for use in any of the controller
>> > functions ..
>>
>> > Regards
>> > Abhishek
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---