Share via


Principal.LoginName property

Implement this abstract property to get a string that contains the login name of the user.

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

Syntax

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

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

Property value

Type: System.String
A string that identifies the user by login name.

See also

Reference

Principal class

Principal members

Microsoft.SharePoint.Client namespace