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();