Compartilhar 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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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