SPPrincipal.LoginName property
Implement this abstract property to get a string that contains the login name of the user.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property LoginName As String
Get
'Usage
Dim instance As SPPrincipal
Dim value As String
value = instance.LoginName
public abstract string LoginName { get; }
Property value
Type: System.String
A string that identifies the user by login name.