LoginName Property

The LoginName property of the SPUser class gets the user name of the user.

Property Value

A string that contains the user name.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security