Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Webservice > Function and usage > User management

addJobFunctionToUser

Scroll Prev Top Next More

Allocate a user to a Job Function

The method addJobFunctionToUser allocates the entered user to the entered Job Function 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 user to a synchronized Job Function or the user is already part of this Job Function.

Method reference

Parameters

Data type

Description

userName

string

Username

jobFunction

string

Job Function

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