ITrkNewItem.UserID (property)

property UserID
Syntax: String = object.UserID
object.UserID = String
Description:
The UserId property is the user adding the item.

Example:

Dim oTrkItem As Object
Dim vTrkItem As Variant
Set oTrkItem = CreateObject("Tracker.TrkNewItem")
oTrkItem.ItemId = "T123"
oTrkItem.ProjectId = "PA1"
oTrkItem.RegionID = "A_TP1"
oTrkItem.ItemTypeId = "ITEMTYPE1"
oTrkItem.RegionLoc = -1
oTrkItem.UserId = "ADMINISTRATOR"
oTrkItem.InsertItem vTrkItem