Forum Discussion
Piyush Solanki
May 24, 2018Copper Contributor
User Group for ITPro Women - kickoff meeting May 18, 3pm EST
Hi All,
Here my scenario
I have developed Web API in azure whose purpose is doing some data operations.
I have Call this APi from sharepoint CEWP javascript (Ajax Call) the only issue is that that API is run at the moment with Specific User Now I want to run this API with Current Contex User
So is there any way to get Current Logged in User tocken or any othe way run API with CurrentContext of Sharepoint
your help is highly appreciated
Thank You,
1 Reply
- Devendra VelegandlaBrass Contributor
Piyush Solanki you can use ADAL to authenticate your app. you may check this https://social.msdn.microsoft.com/Forums/en-US/0e064cf4-05c4-4178-8ba3-465a98489439/can-i-use-adal-with-sharepoint-online?forum=appsforsharepointfor more details