Aqualogic Interaction API  
 

IPTAuditManager.QueryChangedHistory Method 

QueryChangedHistory is similar to QueryAuditMsgs, but is intended to return information about which users made modifications to which objects. The return Query Result can return information like PT_PROPID_AUDIT_USERID and PT_PROPID_AUDIT_USERNAME.

IPTQueryResult QueryChangedHistory(
   int lPropIDMask,
   int lAuditTypeMask,
   int lClassID,
   int[] vsaObjectIDs,
   int lSkipMsgs,
   int lNumMsgs
);

Parameters

lPropIDMask
a bitmask of values from PT_PROPIDS used to indicate the output data desired
lAuditTypeMask
a bitmask of values from PT_AUDIT_TYPES used to indicate which types of audit messages should be included in the result, or -1 for all.
lClassID
the class ID of the object or objects of interest, from PT_CLASSIDS
vsaObjectIDs
an array of the Object IDs of the objects of interest
lSkipMsgs
the number of messages to skip. This is used for pagination (e.g. to show messages 101-200, this value would be 101.)
lNumMsgs
the number of messages to return. This is used for pagination (e.g. to show messages 101-200, this value would be 100.)

Return Value

an IPTQueryResult containing the requested audit messages

See Also

IPTAuditManager Interface | com.plumtree.server Namespace | IPTQueryResult | PT_PROPIDS | PT_AUDIT_TYPES