D365-UI-Test icon indicating copy to clipboard operation
D365-UI-Test copied to clipboard

Impersonation

Open DigitalFlow opened this issue 3 years ago • 3 comments

Implement impersonation by the documented HTTP headers: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/impersonate-another-user-web-api#how-to-impersonate-a-user

DigitalFlow avatar Sep 21 '21 11:09 DigitalFlow

Hi @DigitalFlow , this would be great to have ↑ . Also, I got another question, is there any way to associate user roles with the WebApi class implemented in the framework ?

Thanks!

imartinflores avatar Oct 06 '21 12:10 imartinflores

Hi @imartinflores,

sorry for the late response. Currently associating user roles is not possible with the WebAPI class, as it is missing an implementation for the Xrm.WebApi.online.execute function.

This should not be a big issue to implement though, so I'll try to take care of it in the next release.

Kind regards, Florian

DigitalFlow avatar Nov 06 '21 01:11 DigitalFlow

Hi @DigitalFlow , no worries at all! Thanks a lot!

imartinflores avatar Nov 08 '21 09:11 imartinflores