-
Notifications
You must be signed in to change notification settings - Fork 1
Pact Impersonation WindowsImpersonator
welshronaldo edited this page May 30, 2022
·
8 revisions
Windows-specific impersonation implementation
public class WindowsImpersonator :
Pact.Impersonation.IImpersonator
Inheritance System.Object 🡒 WindowsImpersonator
Implements IImpersonator
Methods | |
---|---|
Execute<T>(ImpersonationSettings, Func<T>) | Executes the provided action within the impersonated context |
Execute(ImpersonationSettings, Action) | Executes the provided action within the impersonated context |
ExecuteAsync<T>(ImpersonationSettings, Func<Task<T>>) | Executes the provided action within the impersonated context |
ExecuteAsync(ImpersonationSettings, Func<Task>) | Executes the provided action within the impersonated context |