You get the currently authenticated user information from the Auth
object, so in your controller, you reference:
$userId = $this->Auth->user('id');
You can then use the value in your find to restrict the data.
On Feb 3, 7:47 pm, psa wrote:
> Hello.
>
> I'm new to cakePHP.
> I have this problem
Hello.
I'm new to cakePHP.
I have this problem in my project application that I'm having
difficulty determining the authenticated user information so that I
can only display a list of designated accounts of him. I believe I
have to filter the controller data at the view process but I don't
where