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)


Public MustOverride ReadOnly Property LoginName As String
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.

See also


SPPrincipal class

SPPrincipal members

Microsoft.SharePoint namespace