Definition at line 7 of file OrgUnitUserService.php.
◆ __construct()
OrgUnit\PublicApi\OrgUnitUserService::__construct |
( |
| ) |
|
◆ getEmailAdressesOfSuperiors()
OrgUnit\PublicApi\OrgUnitUserService::getEmailAdressesOfSuperiors |
( |
array |
$user_ids | ) |
|
Definition at line 35 of file OrgUnitUserService.php.
37 $org_unit_user_repository =
new ilOrgUnitUserRepository();
38 $org_unit_user_repository->withSuperiors();
40 return $org_unit_user_repository->getEmailAdressesOfSuperiors($user_ids);
◆ getUsers()
OrgUnit\PublicApi\OrgUnitUserService::getUsers |
( |
array |
$user_ids, |
|
|
|
$with_superios = false , |
|
|
|
$with_positions = false |
|
) |
| |
- Parameters
-
array | $user_ids | |
bool | $with_superios | |
bool | $with_positions | |
- Returns
- ilOrgUnitUser[]
Definition at line 21 of file OrgUnitUserService.php.
23 $org_unit_user_repository =
new ilOrgUnitUserRepository();
26 $org_unit_user_repository->withSuperiors();
28 if ($with_positions) {
29 $org_unit_user_repository->withPositions();
32 return $org_unit_user_repository->getOrgUnitUsers($user_ids);
The documentation for this class was generated from the following file: