Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Webservice > Function and usage > Job Function management

addUserToJobFunction

Scroll Prev Top Next More

Allocate a JobFunction to a user

The method addUserToJobFunction allocates the entered Job Function to the entered user in JobRouter.

In case the request is successful, it returns the boolean value true.

In case the requested user or Job Function does not exist, an error message will be returned. An error message will also be returned when trying to allocate a synchronized Job Function to a user or the user is already part of this Job Function.

Method reference

Parameters

Data type

Description

jobFunction

string

Job Function

userName

string

Username

Return value: bool; true, if the Job Function was successfully assigned, otherwise false