This documentation is archived and is not being maintained.
GenericIdentity.Name Property
.NET Framework 1.1
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
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: