Quantcast
Viewing all articles
Browse latest Browse all 10280

impersonation/authentication please help

hi guys, I'm very new with dynamics crm development , so I'm a bit overwhelmed. 

users from active directory will be prompted for username/password in their browser. I created an asp.net 4.0 WebAPI web app , put in under ISV folder. And I'm able to open a new browser tab, open the webAPI URL to get the logged on user Guid, using OrganizationServiceProxy and WhoAmIRequest (ex-colleague's code). No problem , because it's the same browser session and same authenticated user.

Now the problem, there are other web apps in ISV folder, which needs to access that webAPI server-side (backend). So accessing it server-side, will be different from opening a new browser tab (client-side). The other web apps I'm able to get the current windows logged in user , let's say ABC. so how do I use this "ABC" login to access that webAPI server-side ? the requirement is the other web apps should not be calling any CRM/XRM SDK dll, my boss wants them to be disconnected from CRM/XRM SDK, and rely on WebAPI. any help would be greatly appreciated 


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>