NotifyNow - getFrequentlyCalledUsers(Number limit)

Return a number of frequently-called users, up to the limit parameter, in alphabetical order.

Table 1. Parameters
Name Type Description
limit Number The maximum number of results.
Table 2. Returns
Type Description
GlideRecord The frequently called users in alphabetical order.

var nn = new SNC.NotifyNow();
var fc = nn.getFrequentlyCalledUsers(10);
 
while (fc.hasNext() && fc.next()) {
    gs.log("got user " + fc.getValue('name') + ' - ' + fc.getValue('sys_id'));
}