WindowsPrincipal::Identity Property
.NET Framework (current version)
Gets the identity of the current principal.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Security.Principal::IIdentity^The WindowsIdentity object of the current principal.
Implements
IPrincipal::IdentityThe following example retrieves the name of the user by using the Identity property of the WindowsPrincipal object.
.NET Framework
Available since 1.1
Available since 1.1
Show: