This documentation is archived and is not being maintained.

GenericPrincipal.Identity Property

Gets the GenericIdentity of the user represented by the current GenericPrincipal.

[Visual Basic]
Public Overridable ReadOnly Property Identity As IIdentity  _
   Implements IPrincipal.Identity
[C#]
public virtual IIdentity Identity {get;}
[C++]
public: __property virtual IIdentity* get_Identity();
[JScript]
public function get Identity() : IIdentity;

Property Value

The GenericIdentity of the user represented by the GenericPrincipal.

Implements

IPrincipal.Identity

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

GenericPrincipal Class | GenericPrincipal Members | System.Security.Principal Namespace

Show: