Represents a Windows user.
For a list of all members of this type, see WindowsIdentity Members.
System.Object
System.Security.Principal.WindowsIdentity
[Visual Basic] <Serializable> Public Class WindowsIdentity Implements IIdentity, ISerializable, IDeserializationCallback [C#] [Serializable] public class WindowsIdentity : IIdentity, ISerializable, IDeserializationCallback [C++] [Serializable] public __gc class WindowsIdentity : public IIdentity, ISerializable, IDeserializationCallback [JScript] public Serializable class WindowsIdentity implements IIdentity, ISerializable, IDeserializationCallback
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Call the GetCurrent method to create a WindowsIdentity object that represents the current user.
Namespace: System.Security.Principal
Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
WindowsIdentity Members | System.Security.Principal Namespace