Running extensions under specific user


We have created an extension for interacting with a web service. The web service requires authentication to access, but the extension is attempting to access it using the deployment server's credentials. We need it to use the current user of the application's credentials.

Is there any way to pass user credentials to a remote site through an extension?
Hi Robert,

I believe you need to go to service center, and in the eSpace that is using the extension select the Operation tab fill the Run As credentials and click the Apply Run As Settings button.

A second option would be to do impersonation with code in the extension itself.

Tiago Simões
We need the user to dynamically change so we'll give the second option a go.
You can see a sample of user impersonation in a extension. in the NetworkFileSystems extension.

Kind regards,