Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the user for the current work item.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Property User As SPUser
Get
Set
'Usage
Dim instance As WorkItemTimerJobState
Dim value As SPUser
value = instance.User
instance.User = value
public SPUser User { get; set; }
Property Value
Type: Microsoft.SharePoint.SPUser
Returns SPUser.
Remarks
If this instance was constructed with fetchUser == true, then this property is set by the TimerJobUtility object when it is switching to a new work item if the new work item is for a different SPUser object.