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

Verify whether user is process owner (hasUserOwnProcesses)

Scroll Prev Top Next More

Note: This method is outdated. Please use the method hasOwnProcesses on the ApiUser object instead.

The method verifies if the logged in user is responsible for a process.

You can use this e.g. in the isAuthorized method to release a widget only for process owners.

Example:

public function isAuthorized()

{

    return $this->hasUserOwnProcesses();

}