Questions tagged [impersonation]
Impersonation is a process whereby an application assumes another identity or security context during execution.
impersonation
1,535
questions
0
votes
0
answers
13
views
impersonation working only for some users in Sugarcrm
I implemented Sugar Identity in Sugar 14, for some users impersonation is working , for some are not
like this active user is working
https://console-us-west-2.service.sugarcrm.com/api/impersonate/...
0
votes
0
answers
31
views
Issue implementing impersonation in ASP.NET Core Web App via Azure B2C custom policy
We have several websites that use several different tech stacks that we would like to implement user impersonation, so an admin can login as a given user, see what they see, and be able to walk them ...
1
vote
0
answers
50
views
Executing PowerShell scripts from C# .NET 6 web app using RunImpersonated not working - Scripts still execute as IIS APPPOOL\APP
My app needs to execute PowerShell scripts to create and manage AD accounts. My current setup uses HangFire to launch background jobs, PowerShell execution being one of them. I have an ...
1
vote
3
answers
193
views
How can I authenticate using the token exchange grant type for impersonation with spring boot and keycloak?
To put a bit of context: I have successfully been able to do this using curl so yes, I probably can come up with a home made solution that works but the point of my question here it to not have to ...
0
votes
0
answers
104
views
Copy file under impersonated user in Windows not always works
I need to copy a file from the user's temp folder under impersonated user. Sometimes it works and sometimes it doesn't. For example: if virtual machine is multiuser it may not work for some users. If ...
0
votes
0
answers
176
views
Laravel Impersonate User
I am trying to implement a impersonate feature into my Laravel 11 app without using any package. But it redirects back to login page.
Below is my middleware handle
public function handle(Request $...
1
vote
0
answers
81
views
TPL Dataflow: Running a pipeline *while impersonated* leaks millions of handles
My Winforms app was consistently crashing to desktop on a large TPL Dataflow pipeline operation. This wasn't caught by the normal try/catch. Only when I put a try/catch at the outermost Program.cs/...
0
votes
0
answers
17
views
ASP.NET web application with Windows Authentication - database sees machine user instead of web user
My web application connects to the database with this connection string:
<add name="ConnName"
connectionString="Data Source=ServerName;Initial Catalog=DBName;Integrated ...
0
votes
0
answers
14
views
How to call an api from Share Point (Subscription Edition) event receiver with impersonation?
I am very new to Share Point development.
I am trying call an api from ItemUpdating event as follows -
public override void ItemUpdating(SPItemEventProperties properties)
{
...
0
votes
0
answers
143
views
User Impersonation not working in .NET Core for Windows Authentication
I have an ASP.NET Core (Blazor Server) app (.NET 8) which calls an API. We are using Windows Authentication on both the website and API. This works in multiple (6) different environments. We have a ...
0
votes
0
answers
37
views
Oauth2 Accesstoken to Windows Identity
Does anyone know if that works? Can you come with an OAuth2.0 accesstoken or JWT etc... to an C# Webapi and than transform that to an Windows Identity to run for examble WindowsIdentity....
0
votes
1
answer
105
views
OKTA User Impersonation _Masquerade
This in context with OKTA. I am logged in as a Superuser (Admin) and trying to perform user impersonation via switch or masquerading in OKTA but could not locate the option in the user profile or ...
0
votes
0
answers
30
views
Export Excel to PDF with Microsoft.Office.Interop in impersonated context
I am trying to open and edit an Excel template and then exporting the modified Excel file to a PDF in an impersonated folder with ExportAsFixedFormat method, but It doesn't work:
using Excel = ...
-5
votes
1
answer
202
views
In C#, is it possible to Impersonate as an admin user and Run another program with Admin privileges without it asking for a password? - SOLVED
The tech team doesn't want to give all the users admin rights on the machines.
But still those same users should be able to update by themselves one software.
So, inside of this software, it should ...
2
votes
3
answers
1k
views
unable to stop impersonation of an GCP Service Account
Weeks ago I've started impersonation of an ServiceAccount using gcloud auth activate-service-account command. Now I can't get back to my normal user account and every command I run is using ...