Skip to content

Releases: mattjohnsonpint/SimpleImpersonation

4.2.0

06 Jan 19:53
Compare
Choose a tag to compare
  • Allow the Azure Active Directory special syntax, using either a username of "AzureAD\user@domain" or a domain of "AzureAD" and user name of "user@domain", where domain is the AAD domain name and AzureAD is hardcoded. See #76

4.1.0

06 Jan 19:06
69e5de6
Compare
Choose a tag to compare
  • Added a .NET 4.6.1 target to fix issue #77

4.0.0

06 Jan 18:59
e12e334
Compare
Choose a tag to compare

Several breaking changes:

  • Drop support for .NET Framework targets.
  • Expose UserCredentials.LogonUser to return a handle to the user.
  • Deprecate Impersonation.RunAsUser. Instead, use WindowsIdentity.RunImpersonated, or WindowsIdentity.RunImpersonatedAsync, using the handle obtained for the user.

3.0.0

06 Jul 06:19
Compare
Choose a tag to compare
  • Major changes to the API. The LogonUser method and IDisposable pattern are deprecated, in favor of RunAsUser that takes an action or function delegate.
  • Uses the built-in WindowsIdentity.RunImpersonated and SafeAccessTokenHandle APIs in .NET Framework 4.6+ and where available.
  • .NET Standard 2.0 support

2.0.1

15 Jun 22:29
Compare
Choose a tag to compare

#17 - Adds NativeError to the exception

2.0.0

15 Jun 21:31
Compare
Choose a tag to compare

#14 - Throws a more useful exception. (This is a breaking change if you were previously parsing the error code out of the message string).

1.1.0

01 Jan 03:26
Compare
Choose a tag to compare

#9 - Adds support for passing the password as a SecureString

1.0.1

08 Oct 20:26
Compare
Choose a tag to compare

Fixes Issue #2.

1.0.0

24 Jul 19:07
Compare
Choose a tag to compare

Version 1.0.0