Share via


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)
Available in Sandboxed Solutions: No

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