Skip to main content

I am trying to impersonate a specific user similarly to the way the code example does so here (https://help.k2.com/onlinehelp/k2blackpearl/devref/4.6.6/webframe.html#how_to_use_impersonate_user_using_the_k2_api.html). In the example they use c# code to make a connection and impersonate a specfic user. 

 

Is there a way to do the same thing , impersonate a user, using the Rest Api (eg : http://k2.denallix.com/k2services/REST.svc/Worklist/Items ).

Hi 


This user guide states that the REST endpoint broker supports all available authentication modes.


 


Please take note:


When coming through SmartForms using claims, the claim identity on the thread is the connected user, but the windows identity on the thread is the k2service account.


If you then make another hop to a service that only supports pure windows auth, the claims user won’t be translated to windows, so it then uses the K2Service account.


It will work through the SmO tester tool because the user is then logged in directly with windows auth.


If you configure kerberos and the k2 claims to windows token service the problem should go away.


Otherwise changing the REST service to accept claims should also work.


 


Regards


Kallie


Reply