system.mes.trace.getUserIDListByFilter

Sepasoft MES Module Suite

system.mes.trace.getUserIDListByFilter(userIDFilter)

Returns a dataset object that holds userIDs of recorded Operations.

Warning

Available in MES 3.81.10 SP2 and later

For version downloads, go to https://www.sepasoft.com/downloads/.

Syntax

system.mes.trace.getUserIDList(userIDFilter)

Parameters

Requires at least one optional parameter to be included, excluding exclusiveTimeRange and includeDisabled

Data Type
Name Description

Dataset Object

MESUserIDFilter

userIDFilter
The user ID filter to filter the search on.

Returns

List <String> of all operation userIDs that match the filter parameters.

Scope

All

Script Example

Python
#Define required information like operation name and equipment path.
eqPath = 'New Enterprise\\New Site\\New Area\\New Line'
operationName = 'Oper 7-26-ID2'

# Create filter object
UserIDFilter = system.mes.trace.createUserIDFilter()

# Set filter properties
UserIDFilter.setEquipmentPath(eqPath)
UserIDFilter.setOperationName(operationName)

#Get the userIDList based on the operation name and equipment path by filter
userIDList = system.mes.trace.getUserIDListByFilter(UserIDFilter)


Sepasoft MES Module Suite