System.Security.Principal.WindowsIdentity Class

Represents a Windows user.

See Also: WindowsIdentity Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class WindowsIdentity : IDisposable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, IIdentity

Remarks

Call the WindowsIdentity.GetCurrent method to create a System.Security.Principal.WindowsIdentity object that represents the current user.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0