MIDServerFinder - getMIDServersBySysId()

Gets the sys_ids of MID servers available for a given range and capability.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Array An array of MID server sys_ids. If no MID servers are available, returns an empty array.
var msf = new MIDServerFinder();
msf.setRanges('10.10.10.1-10.10.11.254');
var msids = msf.getMIDServersBySysId();
 
for(var i=0; i<msids.length; i++) {
  gs.print(msids[i]);
};