Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Dashboard API > Methods and objects of the dashboard API > Usable methods

Current Job Functions (getCurrentJobFunctions)

Scroll Prev Top Next More

Please note: This method is deprecated. Use the method getJobFunctions of the ApiUser-Object instead.

This method provides an array with all Job Functions of the logged in user.

You may use them in e.g. the isAuthorized method to share a widget only for certain Job Functions.

Example:

$currentJobFunctions = $this->getCurrentJobFunctions();