Reputation: 1091
We are using the Microsoft Dynamics Web API (HTTP) to integrate our application with our customers' Dynamics Sales CRM. The API is authenticated using OAuth.
We need to ensure that the user who authenticates has the necessary privileges to carry out all actions. So, we want to query the Web API to fetch the authenticated users privileges. How can that be done?
There is an API function called RetrieveUserPrivileges
, but that requires a user ID, which we don't have. Is there any way, like with some other APIs, to request "my" privileges, i.e., the authenticated user's?
Upvotes: 0
Views: 15