SPWorkItem.UserId property

Gets an integer specifying the ID of the user who created the SPWorkItem object instance.

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

public int UserId { get; }

Property value

Type: System.Int32
Returns an integer that identifies the user who created the work item.
Show: