public function deserialize($array) {
        $this->user=@$array['user'];
        $this->fullName=@$array['name'];
        $this->uid=@$array['uid'];
        $this->group=@$array['group'];
        $this->role=@$array['role'];
        $this->status=@$array['status'];
        /* optional fields */
        $this->email=@$array['email'];
        $this->iduser=@$array['iduser'];
        $this->extraFields=@$array['extrafields'];
    }