GetAlarmOncallUser
GetAlarmOncallUser(AlarmId As String/Integer, nIndex As Integer, nUserId As Integer) As Integer
Returns in <nUserId> the user ID of the <nIndex>th called user for the specified Alarm <AlarmId>. <AlarmId> can be the numeric object id of the alarm tag or its alphanumeric identifier, according with the type of <AlarmId> (Integer or String).
The returned user depends of the on-call group schedule but not of the group relief state.
The returned value is 0 if succeeded, 6 if the alarm ID is invalid or 8 if no user is active.