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)

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