Passing userid to php app

Hi, I have a generic question that I am looking for help with.

I have moved from owncloud to nextcloud, because I could not get the user.php to fetch userid of logged on user.

I have my nextcloud site at http://mysite/next and a my own php applicatation at http://mysite/myapp

What I want to do is display some of the pages from myapp as an iframe in the NC site, and for the myapp to get the current user ID.

Can someeone please help…

Hi Jonathan,

+1 for me. I need also to know the user id in an php app
My subject here :slight_smile:

regards,

Patrick