SPItemEventProperties.UserLoginName Property

Gets the user name of the user whose action caused the event to occur.

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

Syntax

'Declaration
Public ReadOnly Property UserLoginName As String
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As String

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

Property Value

Type: System.String
A string that contains the user name. For example, using Windows authentication mode, this is the domain name and user alias.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace