WindowsIdentity
DefaultIssuer
WindowsIdentity(IntPtr)
WindowsIdentity(String)
WindowsIdentity(WindowsIdentity)
WindowsIdentity(IntPtr, String)
WindowsIdentity(SerializationInfo, StreamingContext)
WindowsIdentity(String, String)
WindowsIdentity(IntPtr, String, WindowsAccountType)
WindowsIdentity(IntPtr, String, WindowsAccountType, Boolean)
~WindowsIdentity()
AccessToken
AuthenticationType
Claims
DeviceClaims
Groups
ImpersonationLevel
IsAnonymous
IsAuthenticated
IsGuest
IsSystem
Name
Owner
Token
User
UserClaims
Clone()
Dispose()
Dispose(Boolean)
GetAnonymous()
GetCurrent()
GetCurrent(Boolean)
GetCurrent(TokenAccessLevels)
Impersonate()
Impersonate(IntPtr)
RunImpersonated(SafeAccessTokenHandle, Action)
RunImpersonated<T>(SafeAccessTokenHandle, Func<T>)
RunImpersonatedAsync(SafeAccessTokenHandle, Func<Task>)
RunImpersonatedAsync<T>(SafeAccessTokenHandle, Func<Task<T>>)
net9.0
namespace System.Security.Principal
{
public class WindowsIdentity : ClaimsIdentity, IDisposable, IDeserializationCallback, ISerializable
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public WindowsIdentity(SerializationInfo! info, StreamingContext context);
}
}
NetFx Compat Lab | 0.8 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 1.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assembly | System.Security.Principal.Windows , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Obsolete | SYSLIB0051: This API supports obsolete formatter-based serialization. It should not be called or extended by application code. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API