Condividi tramite


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public MustOverride ReadOnly Property LoginName As String
    Get
'Usage
Dim instance As SPPrincipal
Dim value As String

value = instance.LoginName
[ClientCallableAttribute]
public abstract string LoginName { get; }

Property Value

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

See Also

Reference

SPPrincipal Class

SPPrincipal Members

Microsoft.SharePoint Namespace