public function getUsers()
    {
        $userEntities = $this->findAll();
        if ($userEntities) {
            foreach ($userEntities as $userEntity) {
                $this->unsetSensitiveFields($userEntity);
            }
        }

        return $userEntities;
    }
public function getUsers()
    {
        $userEntities = $this->findAll();
        if ($userEntities) {
            foreach ($userEntities as $userEntity) {
                $this->unsetSensitiveFields($userEntity);
            }
        }

        return $userEntities;
    }
public function getUsers ( ) { $ userEntities = $ this -> findAll ( ) ; if ( $ userEntities ) { foreach ( $ userEntities as $ userEntity ) { $ this -> unsetSensitiveFields ( $ userEntity ) ; } } return $ userEntities ; }
Get all the system users.

@return Entity\Users[]|false
Get all the system users .