Syntax
PrtItem.UserId
Description
String property to set or get the User ID associated with the Item. The User ID is recorded into the PRT log when an Item is modified.
Example
Dim prt as new Prt
n% = 17
' Get a list of items from PRT and initialize a particular
' status bit for each one, setting the object to log the
' user id performing the action.
prt.GetItemList
for j = 0 to prt.ItemCount - 1
prt.Item(j).ClearStatusBit n%
prt.Item(j).UserId ="ADMINISTRATOR"
prt.Item(j).Modify
next j
PRT Object Model member list. |