SPListEvent.UserLoginName Property

NOTE: This API is now obsolete.

Gets the user name of the user whose action triggered the event.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property UserLoginName As String
    Get
'Usage
Dim instance As SPListEvent
Dim value As String

value = instance.UserLoginName
[ObsoleteAttribute("Use V3 style events")]
public string UserLoginName { get; }

Property Value

Type: System.String
A string that contains the user name (DOMAIN\User_Alias) of the user.

See Also

Reference

SPListEvent Class

SPListEvent Members

Microsoft.SharePoint Namespace