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)

Syntax

'Declaration
Public ReadOnly Property UserId As Integer
    Get
'Usage
Dim instance As SPWorkItem
Dim value As Integer

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

Property value

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

See also

Reference

SPWorkItem class

SPWorkItem members

Microsoft.SharePoint namespace