This topic has not yet been rated - Rate this topic

SPUser.LoginName Property

Gets the user name of the user.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
public override string LoginName { get; }

Property Value

Type: System.String
A string that contains the user name.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ