共用方式為


SPItemEventProperties.CurrentUserId property

取得的使用者的動作導致事件發生的整數 ID。

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

Syntax

'宣告
Public ReadOnly Property CurrentUserId As Integer
    Get
'用途
Dim instance As SPItemEventProperties
Dim value As Integer

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

Property value

Type: System.Int32
識別使用者的 32 位元整數。

請參閱

參照

SPItemEventProperties class

SPItemEventProperties members

Microsoft.SharePoint namespace