Sanket Kumar – My blog where I share my learnings

Sanket Kumar – My blog where I share my learnings

https://dynamicscrmlearnings.wordpress.com

My blog where I share my learnings

Impersonation while calling Action using JavaScript

Published

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

Continue to website...

More from Sanket Kumar – My blog where I share my learnings

Related Posts