SPUser.LoginName property

Gets the user name of the user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property LoginName As String
    Get
'Usage
Dim instance As SPUser
Dim value As String

value = instance.LoginName
public override string LoginName { get; }

Property value

Type: System.String
A string that contains the user name.

See also

Reference

SPUser class

SPUser members

Microsoft.SharePoint namespace