<PackageReference Include="System.Security.Principal.Windows" Version="4.0.0-beta-22231" />
API Differences between 4.0.0-beta-22231 and 5.0.0
8 Additions
49 Removals
Microsoft.Win32.SafeHandles
System.Security.Principal
-
public sealed class NTAccount : IdentityReference
-
public sealed class SecurityIdentifier : IdentityReference, IComparable<SecurityIdentifier>
-
public enum WellKnownSidType
-
public enum WindowsAccountType
-
public class WindowsIdentity : ClaimsIdentity, IDisposable
- public SafeAccessTokenHandle AccessToken { get; }
- public WindowsIdentity(IntPtr userToken, string type, WindowsAccountType acctType)
- public WindowsIdentity(IntPtr userToken, string type, WindowsAccountType acctType, bool isAuthenticated)
- public WindowsIdentity(SerializationInfo info, StreamingContext context)
- public WindowsIdentity(string sUserPrincipalName)
- public static void RunImpersonated(SafeAccessTokenHandle safeAccessTokenHandle, Action action)
- public static T RunImpersonated<T>(SafeAccessTokenHandle safeAccessTokenHandle, Func<T> func)
- public static Task RunImpersonatedAsync(SafeAccessTokenHandle safeAccessTokenHandle, Func<Task> func)
- public static Task<T> RunImpersonatedAsync<T>(SafeAccessTokenHandle safeAccessTokenHandle, Func<Task<T>> func)
- public void Dispose()
- public static void RunUnimpersonated(Action action)
- public static T RunUnimpersonated<T>(Func<T> func)
- public void Dispose()
- public void RunImpersonated(Action action)
- public T RunImpersonated<T>(Func<T> func)
-
public class WindowsPrincipal : ClaimsPrincipal