Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Robert Paul
83
Views
3
Comments
Running extensions under specific user
Question
Hello,
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?
Thanks
Robert
Tiago Simões
Staff
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
.
Cheers,
Tiago Simões
Robert Paul
We need the user to dynamically change so we'll give the second option a go.
Thanks
Robert
Matthias Preuter
MVP
You can see a sample of user impersonation in a extension. in the NetworkFileSystems extension.
Kind regards,
Matthias
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...