I am trying to convert a current web part we use in SharePoint 2012 to an App that will be displayed on every users homepage When they go to our O365 site.
Its a simple App all it does is display if the user has completed their time sheet (based on who you are from AD). But its not an App anyone will "Click" on.
I have seen articles say cut code from Iframe generated by the App and place that code on the page.
I don't think this will work as I need to pass it the user and display only their data.
I Appreciate any thoughts on the best way to do this. If the Iframe is usable, I'd take thoughts on how to get it the user I am getting from O365 passed to it.
Thanks In Advance
Steve Zelonis
If you created a SharePoint provider hosted app, below code you can insert it in the Index controller to pull the user info.
User spUser = null;
Hope this helps.