Export (0) Print
Expand All

GenericIdentity.Name Property

Gets the user's name.

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

Property Value

The name of the user on whose behalf the code is being run.

Implements

IIdentity.Name

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

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

Show:
© 2015 Microsoft