Skip to main content
Version: v4 (Stable)

GetGroupOncallUser

GetGroupOncallUser(GroupId As String/Integer, nIndex As Integer, nUserId As Integer) As Integer

Gets in <nUserId> the user ID of the <nIndex>th called user in the call group <GroupId>. <GroupId> can be the numeric object id of the call group or its name, according with its type (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, 5 if the group ID is invalid or 8 if no user is active.