Share via


SPItemEventProperties.CurrentUserId property

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

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

Syntax

'Declaration
Public ReadOnly Property CurrentUserId As Integer
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As Integer

value = instance.CurrentUserId
public int CurrentUserId { get; }

Property value

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

See also

Reference

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace