CommonITILObject::getUsers PHP Method

getUsers() public method

get users linked to a object
public getUsers ( $type ) : array
$type type to search (see constants)
return array
    function getUsers($type)
    {
        if (isset($this->users[$type])) {
            return $this->users[$type];
        }
        return array();
    }
CommonITILObject