Impersonation while calling Action using JavaScript

Unlike workflows Actions always executes in user context by default. If you want to impersonate and execute action from service account . Use below line in you code to call the action request.setRequestHeader(“MSCRMCallerID”, “214b236e-2970-ea11-a811-000d3a2c57ba”); // here pass the Guid of the service account or any user. Note : User should have act on behalf privilege. … Continue reading Impersonation while calling Action using JavaScript
Published on:
Learn more