Add asynchronous overload of WindowsIdentity.RunImpersonated (#1152)
authorMarco Rossignoli <marco.rossignoli@gmail.com>
Wed, 22 Jan 2020 22:09:18 +0000 (23:09 +0100)
committerStephen Toub <stoub@microsoft.com>
Wed, 22 Jan 2020 22:09:18 +0000 (17:09 -0500)
commitbeff8ab2f5666d11a53d338e05147d526ee3ea67
tree804ca7d59d6962823bc759d7a0ae0302db85c249
parent62c0034268478d356e13054665b2840305de5052
Add asynchronous overload of WindowsIdentity.RunImpersonated (#1152)

* add RunImpersonateAsync overloads

* skip on full framework

* run test netcoreapp only

* skip tests on nanoserver

* address PR feedback

* address PR feedback

* address PR feedback

* address PR feedback

* Update WindowsIdentity.cs

update comment

* Update WindowsIdentity.cs

update comment

* Update WindowsIdentity.cs

Fix comment

* Update WindowsIdentity.cs

fix comment

* Fix comment
src/libraries/System.Security.Principal.Windows/ref/System.Security.Principal.Windows.cs
src/libraries/System.Security.Principal.Windows/src/System/Security/Principal/WindowsIdentity.cs
src/libraries/System.Security.Principal.Windows/tests/System.Security.Principal.Windows.Tests.csproj
src/libraries/System.Security.Principal.Windows/tests/WindowsIdentityImpersonatedTests.netcoreapp.cs [new file with mode: 0644]