How can I use for get the owner datas with a function of OssnEntities?

Dani MR Posted in Beginning Developers 8 years ago

Hi,

Probably exist a easy solution for my problem.

When I call a function of myComponent, getMapTrips() show only the datas of the user owner, when is logged because I use the function ossnloggedinuser()->guid (Sure ;). But I need to show if another user check myComponent option. The easy example developed for you is photos. When I check the photos of another profile I can see the photos(public).

How can I view the data if another user look at the option of my profile?

I need the owner datas no the logged user :)
https://github.com/tricotrin/OptionTrips/blob/master/classes/OptionTrips.php

Sorry for my english.

Regards

Replies