CurrentUserId Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPItemEventProperties.CurrentUserId Property

Windows SharePoint Services 3

Gets the integer ID of the user whose action caused the event to occur.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public int CurrentUserId { get; }

Property Value

Type: System.Int32
A 32-bit integer that identifies the user.
© 2015 Microsoft