29 $this->parent_id = $a_parent_id;
35 $this->parent_id = $a_parent_id;
45 include_once
'./Services/User/classes/class.ilObjUser.php';
49 foreach($users_data as $usr_data)
51 if(!$a_filter or $a_filter == $usr_data[
'time_limit_owner'])
56 return $users ? $users : array();
61 global
$ilDB,$rbacsystem;
63 $query =
"SELECT DISTINCT(time_limit_owner) as parent_id FROM usr_data ";
73 $parent[] =
$row->parent_id;
78 if($rbacsystem->checkAccess(
'read_users',
$row->parent_id) or $rbacsystem->checkAccess(
'cat_administrate_users',
$row->parent_id))
82 $parent[] =
$row->parent_id;
86 return $parent ? $parent : array();
111 $where =
"WHERE time_limit_owner = ".$ilDB->quote($a_filter,
"integer").
" ";
116 $query =
"SELECT usr_id FROM usr_data ".$where;
119 while(
$row = $ilDB->fetchObject(
$res))
121 $users[] =
$row->usr_id;
124 return $users ? $users : array();