Share via


SPPrincipalInfo.LoginName property

Gets the login name of the principal.

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

Syntax

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

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

Property value

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

See also

Reference

SPPrincipalInfo class

SPPrincipalInfo members

Microsoft.SharePoint.Utilities namespace