locked
oData Service Request - WhoAmI RRS feed

  • Question

  • Is there a request that can be made on the oData service to confirm the current user's identity? A possible solution we've been exploring for our external client application is to provide the authentication cookies from a CRM page as query parameters in an iframe. The receiving end would authenticate with the cookie values and execute a series of oData requests to validate the user and data context. From there it would display third party data relevant to the CRM page. However, we seem unable to confirm the current user's SystemUserId from the oData interface.
    Tuesday, March 4, 2014 4:12 PM

All replies

  • Can't you get the systemuserid from Xrm.Page.context.getUserId() ?


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Tuesday, March 4, 2014 6:14 PM
    Moderator
  • That is a possibility, but then how could we go about validating that the SystemUserId provided is the user that is currently authenticated?
    Tuesday, March 4, 2014 6:27 PM